Commit acefed13 authored by Steve Holme's avatar Steve Holme
Browse files

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.
parent 8fdb87d0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
        }