projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add spot2sql.pl for experiment sql support
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index 5f89ac2369f7e28b48bec355ceacb12ad0627278..080cf666ce0cbc3dc99032bbc4a1d9452af24bd1 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-440,7
+440,7
@@
sub run_cmd
# strip out // and .. on command only
$cmd =~ s|//|/|g;
$cmd =~ s|^/||g; # no leading / either
- $cmd =~ s|[^-
\w/]||g;
# and no funny characters
+ $cmd =~ s|[^-
?\w/]||g;
# and no funny characters
my ($path, $fcmd);