aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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;
}