summaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-23 19:19:12 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-23 19:19:12 +0000
commit7a36b2abc068625b821d01cbf14c545cacc95c65 (patch)
treee27dff6b4af29a830c763b23a5b672554ede2f94 /tests/ftpserver.pl
parente1c255f388e55624c762b3eefa453ee4456d1297 (diff)
downloadcurl-7a36b2abc068625b821d01cbf14c545cacc95c65.tar.gz
ftpserver.pl: Fixed unknown IMAP command "*"
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-xtests/ftpserver.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index d14f7d305..38f0f3d3a 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -3168,7 +3168,8 @@ while(1) {
$FTPARG=$3;
}
# IMAP long "commands" are base64 authentication data
- elsif($full =~ /^[A-Z0-9+\/]*={0,2}$/i) {
+ elsif(($full =~ /^[A-Z0-9+\/]*={0,2}$/i) ||
+ ($full == "*")) {
# Command id has already been set
$FTPCMD=$full;
$FTPARG="";