ftpserver.pl: Fixed servercmd REPLY with * detection
authorSteve Holme <steve_holme@hotmail.com>
Sat, 23 Nov 2013 16:25:37 +0000 (16:25 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 23 Nov 2013 16:28:28 +0000 (16:28 +0000)
tests/ftpserver.pl

index d71dc8a24826468834e6ba1b27e97737dd25b7f1..d14f7d305928e1ad5a3531c404751b2b4f7fd2b6 100755 (executable)
@@ -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";