From: Steve Holme Date: Mon, 23 Dec 2013 12:20:32 +0000 (+0000) Subject: ftpserver.pl: Updated custom full text REPLY regex X-Git-Tag: curl-7_35_0~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=50aac1a37d14ed353ca8b1bb47ded48c25141d75;p=thirdparty%2Fcurl.git 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. --- diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index a37802d5c0..5303cd7b04 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() { - 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"; }