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:
parent
947d431d50
commit
78aee26be6
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user