#119 \"Cant use hyphen in file names\" problem not fixed well

v0.9.4
closed
nobody
Browsing (93)
5
2006-03-31
2006-03-30
No

"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.

Discussion

  • Malcolm Box

    Malcolm Box - 2006-03-31

    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

     
  • Malcolm Box

    Malcolm Box - 2006-03-31
    • summary: "Cant use hyphen in file names" problem not fixed well --> \"Cant use hyphen in file names\" problem not fixed well
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks