aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-12-23 12:20:32 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-12-23 12:24:06 +0000
commit50aac1a37d14ed353ca8b1bb47ded48c25141d75 (patch)
treec989b04d31adc19082c57340910f12db581111b6 /tests
parent574db1a6fd850937ad517d8135bf8b78188f3411 (diff)
ftpserver.pl: Updated custom full text REPLY regex
SASL downgrade tests: 833, 835, 879, 881, 935 and 937 would fail as they contained a minus sign in their authentication mechanism and this would be missed by the custom reply parser.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ftpserver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index a37802d5c..5303cd7b0 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -2843,7 +2843,7 @@ sub customize {
logmsg "FTPD: Getting commands from log/ftpserver.cmd\n";
while(<CUSTOM>) {
- if($_ =~ /REPLY \"([A-Z]+ [A-Za-z0-9+\/=\*]+)\" (.*)/) {
+ if($_ =~ /REPLY \"([A-Z]+ [A-Za-z0-9+-\/=\*]+)\" (.*)/) {
$fulltextreply{$1}=eval "qq{$2}";
logmsg "FTPD: set custom reply for $1\n";
}