mirror of
https://github.com/curl/curl.git
synced 2026-06-01 22:04:15 +03:00
ftpserver.pl: Fixed servercmd REPLY with * detection
This commit is contained in:
parent
6d3c832a30
commit
e1c255f388
1 changed files with 1 additions and 1 deletions
|
|
@ -2841,7 +2841,7 @@ sub customize {
|
|||
logmsg "FTPD: Getting commands from log/ftpserver.cmd\n";
|
||||
|
||||
while(<CUSTOM>) {
|
||||
if($_ =~ /REPLY ([A-Za-z0-9+\/=]*) (.*)/) {
|
||||
if($_ =~ /REPLY ([A-Za-z0-9+\/=\*]*) (.*)/) {
|
||||
$customreply{$1}=eval "qq{$2}";
|
||||
if($1 eq "") {
|
||||
logmsg "FTPD: set custom reply for empty response\n";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue