1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 16:18:48 -05:00

ftpserver.pl: Added support for empty pop3 authentication data

This commit is contained in:
Steve Holme 2013-10-23 22:19:42 +01:00
parent 947d431d50
commit 78aee26be6

View File

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