projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
simplified
[spider.git]
/
perl
/
DXCommandmode.pm
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index f5ef8e2808ba0a1b403610ed5245575013b93960..5f89ac2369f7e28b48bec355ceacb12ad0627278 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-439,7
+439,6
@@
sub run_cmd
if ($cmd) {
# strip out // and .. on command only
$cmd =~ s|//|/|g;
if ($cmd) {
# strip out // and .. on command only
$cmd =~ s|//|/|g;
- $cmd =~ s|\.+||g; # no dots allowed
$cmd =~ s|^/||g; # no leading / either
$cmd =~ s|[^-\w/]||g; # and no funny characters
$cmd =~ s|^/||g; # no leading / either
$cmd =~ s|[^-\w/]||g; # and no funny characters