mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-04 07:02:45 +08:00
Merge branch 'master' of github.com:nodemailer/wildduck
This commit is contained in:
commit
1680a12edf
1 changed files with 1 additions and 1 deletions
|
@ -881,7 +881,7 @@ class POP3Connection extends EventEmitter {
|
|||
}
|
||||
|
||||
authPlain(plain, next) {
|
||||
if (!/^[a-zA-Z0-9+/]+=+?$/.test(plain)) {
|
||||
if (!/^(?:[a-zA-Z0-9+/]{4})*(?:(?:[a-zA-Z0-9+/]{3}=)|(?:[a-zA-Z0-9+/]{2}==))?$/.test(plain)) {
|
||||
this.send('-ERR malformed command');
|
||||
return next();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue