aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-03-30 19:59:36 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-03-30 22:00:04 +0100
commitacefed139fcbfbf4ace45249b1e0005937876232 (patch)
tree9c03dd226c385d587a345b2c2371f4f46ffa5153
parent8fdb87d0dfa6c23e4bdaf739db91059c5f14d2a0 (diff)
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.
-rwxr-xr-xtests/ftpserver.pl2
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";
}