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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b20df573269a3672b9d1166bb1dec639db38d540;p=curl ftpserver: support case insensitive commands --- diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 77d0b6faf..ae8b4a017 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;