aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-10-10 16:58:40 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-10-10 23:00:52 +0200
commitb20df573269a3672b9d1166bb1dec639db38d540 (patch)
tree2aaf79814546f7488dc20a817783a9b2c28917dd
parent38ab7b4ccb18f03c0323d412ff0f3613cd66f5e5 (diff)
ftpserver: support case insensitive commands
-rwxr-xr-xtests/ftpserver.pl2
1 files changed, 1 insertions, 1 deletions
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;