summaryrefslogtreecommitdiff
path: root/tests/ftpserver.pl
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-10-23 22:19:42 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-10-23 22:19:42 +0100
commit78aee26be61a3375dba40583c1233f39e941c803 (patch)
treeda5b32715308e28af63a35fa93be9500b4eb65e5 /tests/ftpserver.pl
parent947d431d5043b74e6a3b24f2295807055a140cff (diff)
downloadcurl-78aee26be61a3375dba40583c1233f39e941c803.tar.gz
ftpserver.pl: Added support for empty pop3 authentication data
Diffstat (limited to 'tests/ftpserver.pl')
-rwxr-xr-xtests/ftpserver.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl
index 803273db6..1d209d8d9 100755
--- a/tests/ftpserver.pl
+++ b/tests/ftpserver.pl
@@ -3065,7 +3065,7 @@ while(1) {
}
elsif($proto eq "pop3") {
# POP3 long "commands" are base64 authentication data
- unless($full =~ /^[A-Z0-9+\/]+={0,2}$/i) {
+ unless($full =~ /^[A-Z0-9+\/]*={0,2}$/i) {
sendcontrol "-ERR '$full': command not understood.\r\n";
last;
}