diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-03-30 19:59:36 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-03-30 22:00:04 +0100 |
commit | acefed139fcbfbf4ace45249b1e0005937876232 (patch) | |
tree | 9c03dd226c385d587a345b2c2371f4f46ffa5153 /tests/ftpserver.pl | |
parent | 8fdb87d0dfa6c23e4bdaf739db91059c5f14d2a0 (diff) | |
download | curl-acefed139fcbfbf4ace45249b1e0005937876232.tar.gz |
ftpserver.pl: Extended the full text reply regular expression
Extended the regex to include other valid characters such as those used
in the reply text of Test 836.
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-x | tests/ftpserver.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 743d09a0c..4807a1fef 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -2760,7 +2760,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"; } |