ftpserver.pl: Fixed servercmd REPLY with * detection
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user