From: SourceForge.net <no...@so...> - 2005-10-10 09:04:04
|
Bugs item #1322202, was opened at 2005-10-10 02:04 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=1322202&group_id=27350 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Browsing Group: None Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: source does not enter 2-letters dirs Initial Comment: (LXR 0.9.4) The source script refuses to enter a 2 letters dir (such as 'fs' or 'mm' in linux kernel source tree). The problem comes from a misuse of the dot in the regexp used to filter out the .. (parent) dir. Fixup : apply following patch (do not forget to apply to the perl-mods installed in the /usr/.../site_lisp perl directory if you followd install directives) --- LXR/Common.pm 2005-10-07 15:21:11.000000000 +0200 +++ LXR/Common.pm~ 2005-10-05 17:55:19.000000000 +0200 @@ -541,7 +541,7 @@ # First suppress anything after a dodgy character $path =~ s!(^[\w_+-,.%^/]+).*!$1!; # Clean out /../ - while ($path =~ m!/\.\./!) { + while ($path =~ m!/../!) { $path = s!/\.\./!/!g; } } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=1322202&group_id=27350 |