[Lxr-dev] [ lxr-Bugs-1461086 ] "Cant use hyphen in file names" problem not fixed well
Brought to you by:
ajlittoz
From: SourceForge.net <no...@so...> - 2006-03-31 22:25:42
|
Bugs item #1461086, was opened at 2006-03-30 03:40 Message generated for change (Comment added) made by mbox You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=1461086&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: v0.9.4 Status: Open Resolution: None Priority: 5 Submitted By: steel_mental (steel_mental) Assigned to: Nobody/Anonymous (nobody) Summary: "Cant use hyphen in file names" problem not fixed well Initial Comment: "Cant use hyphen in file names problem" fixed not well. the sub "clean_path" of file Common.pm(near line 537): .... if(defined $path) { # First suppress anything after a dodgy character $path =~ s!(^[\w_+-,.%^/]+).*!$1!; # Clean out /../ while ($path =~ m!/../!) { $path = s!/\.\./!/!g; } .... this line: $path =~ s!(^[\w_+-,.%^/]+).*!$1!; should be: $path =~ s!(^[\w_+\-,.%^/]+).*!$1!; or lxr still can not use hyphen in file names. my box is freebsd 6.0 with perl 5.8.8. sorry for my poor english and enjoy. by Michael Lee. ---------------------------------------------------------------------- >Comment By: Malcolm Box (mbox) Date: 2006-03-31 23:25 Message: Logged In: YES user_id=215386 Thanks for reporting this. This has now been fixed in CVS, and will be in the 0.9.5 release (which should happen when the SF CVS servers are back up!). Cheers, Malcolm ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390117&aid=1461086&group_id=27350 |