add spot2sql.pl for experiment sql support
[spider.git] / perl / DXCommandmode.pm
index 5f89ac2369f7e28b48bec355ceacb12ad0627278..080cf666ce0cbc3dc99032bbc4a1d9452af24bd1 100644 (file)
@@ -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);