]> Sergey Matveev's repositories - public-inbox.git/commit
lei: attempt to canonicalize away "/../" pathnames
authorEric Wong <e@80x24.org>
Wed, 11 Aug 2021 11:26:18 +0000 (11:26 +0000)
committerEric Wong <e@80x24.org>
Wed, 11 Aug 2021 21:50:09 +0000 (21:50 +0000)
commit5634e8331cb8782944a258a12e1f9857dfb1c8e1
treea93419e9ad7690e246928910cab6b39bb471a84a
parentd15e80db44399867d8ca53528e38f70f54562b88
lei: attempt to canonicalize away "/../" pathnames

As documented, File::Spec->canonpath does not canonicalize
"/../".  While we want to do our best to preserve symlinks in
pathnames, leaving "/../" can mislead our inotify|kqueue usage.
lib/PublicInbox/LEI.pm
lib/PublicInbox/LeiALE.pm
lib/PublicInbox/LeiBlob.pm
lib/PublicInbox/LeiInit.pm
lib/PublicInbox/LeiLcat.pm
lib/PublicInbox/LeiOverview.pm
lib/PublicInbox/LeiQuery.pm
lib/PublicInbox/LeiRediff.pm
lib/PublicInbox/LeiUp.pm
t/lei_xsearch.t