From: Daniel Stenberg Date: Tue, 10 Oct 2017 14:58:40 +0000 (+0200) Subject: ftpserver: support case insensitive commands X-Git-Tag: curl-7_56_1~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b20df573269a3672b9d1166bb1dec639db38d540;p=thirdparty%2Fcurl.git ftpserver: support case insensitive commands --- diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 77d0b6faf4..ae8b4a0175 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -3193,7 +3193,7 @@ while(1) { } # only perform this if we're not faking a reply - my $func = $commandfunc{$FTPCMD}; + my $func = $commandfunc{uc($FTPCMD)}; if($func) { &$func($FTPARG, $FTPCMD); $check = 0;