]> dxcluster.org Git - spider.git/commitdiff
fix sh/dx/30 problem
authorDirk Koopman <djk@tobit.co.uk>
Thu, 2 Mar 2023 12:11:09 +0000 (12:11 +0000)
committerDirk Koopman <djk@tobit.co.uk>
Thu, 2 Mar 2023 12:11:09 +0000 (12:11 +0000)
Changes
perl/DXCommandmode.pm

diff --git a/Changes b/Changes
index 1a646f842769208309fc8e4db74fafddcfbc059c..38eaec520435d5248f6f33bd9c75332c6f9d7662 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+02Mar23=======================================================================
+1. Fix sh/dx/30 problem. I.e. allow old style version of sh/dx 30.  
 01Mar23=======================================================================
 1. Revert PC92 A D and PC92 C record flags back to defaults.
 2. Deal with users that send gibberish.
index 9b3a371b092a8e9cd651025153e26ca9c642a71d..d2f4a4ff97c549b3b596ce62edf5530cb66d7d11 100644 (file)
@@ -541,7 +541,7 @@ sub run_cmd
                $cmd =~ s|//+|/|g;
 
                # check for length of whole command line and any invalid characters
-               if (length $cmdline > $maxcmdlth || $cmd =~ m|\.| || $cmd !~ m|^\w+(?:/\w+){0,1}$|) {
+               if (length $cmdline > $maxcmdlth || $cmd =~ m|\.| || $cmd !~ m|^\w+(?:/\w+){0,1}(?:/\d+)?$|) {
                        LogDbg('DXCommand', "cmd: $self->{call} - invalid characters in '$cmd'");
                        return $self->_error_out('e40');        
                }