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") {
|
elsif($proto eq "pop3") {
|
||||||
# POP3 long "commands" are base64 authentication data
|
# 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";
|
sendcontrol "-ERR '$full': command not understood.\r\n";
|
||||||
last;
|
last;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user