From 78aee26be61a3375dba40583c1233f39e941c803 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 23 Oct 2013 22:19:42 +0100 Subject: ftpserver.pl: Added support for empty pop3 authentication data --- tests/ftpserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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; } -- cgit v1.2.3