From b20df573269a3672b9d1166bb1dec639db38d540 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 10 Oct 2017 16:58:40 +0200 Subject: [PATCH] ftpserver: support case insensitive commands --- tests/ftpserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;