projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fdb87d
)
ftpserver.pl: Extended the full text reply regular expression
author
Steve Holme
<steve_holme@hotmail.com>
Sun, 30 Mar 2014 18:59:36 +0000
(19:59 +0100)
committer
Steve Holme
<steve_holme@hotmail.com>
Sun, 30 Mar 2014 21:00:04 +0000
(22:00 +0100)
Extended the regex to include other valid characters such as those used
in the reply text of Test 836.
tests/ftpserver.pl
patch
|
blob
|
history
diff --git
a/tests/ftpserver.pl
b/tests/ftpserver.pl
index
743d09a
..
4807a1f
100755
(executable)
--- 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";
}