projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e6df48
)
fix sh/dx/30 problem
author
Dirk Koopman
<djk@tobit.co.uk>
Thu, 2 Mar 2023 12:11:09 +0000
(12:11 +0000)
committer
Dirk Koopman
<djk@tobit.co.uk>
Thu, 2 Mar 2023 12:11:09 +0000
(12:11 +0000)
Changes
patch
|
blob
|
history
perl/DXCommandmode.pm
patch
|
blob
|
history
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.
01Mar23=======================================================================
1. Revert PC92 A D and PC92 C record flags back to defaults.
2. Deal with users that send gibberish.
diff --git
a/perl/DXCommandmode.pm
b/perl/DXCommandmode.pm
index 9b3a371b092a8e9cd651025153e26ca9c642a71d..d2f4a4ff97c549b3b596ce62edf5530cb66d7d11 100644
(file)
--- a/
perl/DXCommandmode.pm
+++ b/
perl/DXCommandmode.pm
@@
-541,7
+541,7
@@
sub run_cmd
$cmd =~ s|//+|/|g;
# check for length of whole command line and any invalid characters
$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');
}
LogDbg('DXCommand', "cmd: $self->{call} - invalid characters in '$cmd'");
return $self->_error_out('e40');
}