ftpserver: support case insensitive commands

This commit is contained in:
Daniel Stenberg 2017-10-10 16:58:40 +02:00
parent 38ab7b4ccb
commit b20df57326
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 1 additions and 1 deletions

View File

@ -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;