]> granicus.if.org Git - curl/commitdiff
ftpserver.pl: Fixed unknown IMAP command "*"
authorSteve Holme <steve_holme@hotmail.com>
Sat, 23 Nov 2013 19:19:12 +0000 (19:19 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 23 Nov 2013 19:19:12 +0000 (19:19 +0000)
tests/ftpserver.pl

index d14f7d305928e1ad5a3531c404751b2b4f7fd2b6..38f0f3d3a6734da866da7ded887401e3e9cd4008 100755 (executable)
@@ -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="";