fix ?
[spider.git] / perl / DXCommandmode.pm
index 6b62f58a820f02d1215f7b7decd1054300ad0ec0..9dd2b33c146fb6b22df90cfbfc31a54d8e159b2e 100644 (file)
@@ -436,7 +436,7 @@ sub run_cmd
                # strip out // on command only
                $cmd =~ s|//|/|g;
                $cmd =~ s|^/||g;                # no leading / either
-               $cmd =~ s|[^-\w/]||g;           # and no funny characters either
+               $cmd =~ s|[^-?\w/]||g;          # and no funny characters either
                                        
                my ($path, $fcmd);