cmd_authenticate() replies to AUTHENTICATE commands with "+" CRLF but
the imap4rev1 RFC [^0] defines the following ABNF syntax for a continuation
request:
continue-req = "+" SP (resp-text / base64) CRLF
A space (SP) is required before CRLF.
[0]: https://www.rfc-editor.org/rfc/rfc3501#page-84
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
sub cmd_authenticate ($$$) {
my ($self, $tag) = @_; # $method = $_[2], should be "ANONYMOUS"
$self->{-login_tag} = $tag;
- "+\r\n"; # challenge
+ "+ \r\n"; # challenge
}
sub cmd_capability ($$) {