mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
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.
This commit is contained in:
parent
8fdb87d0df
commit
acefed139f
@ -2760,7 +2760,7 @@ sub customize {
|
|||||||
logmsg "FTPD: Getting commands from log/ftpserver.cmd\n";
|
logmsg "FTPD: Getting commands from log/ftpserver.cmd\n";
|
||||||
|
|
||||||
while(<CUSTOM>) {
|
while(<CUSTOM>) {
|
||||||
if($_ =~ /REPLY \"([A-Z]+ [A-Za-z0-9+-\/=\*]+)\" (.*)/) {
|
if($_ =~ /REPLY \"([A-Z]+ [A-Za-z0-9+-\/=\*. ]+)\" (.*)/) {
|
||||||
$fulltextreply{$1}=eval "qq{$2}";
|
$fulltextreply{$1}=eval "qq{$2}";
|
||||||
logmsg "FTPD: set custom reply for $1\n";
|
logmsg "FTPD: set custom reply for $1\n";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user