modern-email / defects

Collection of real-world email defects
MIT License
6 stars 1 forks source link

Missing space in command continuation request response #7

Open duesee opened 9 months ago

duesee commented 9 months ago

https://github.com/jonhoo/rust-imap/blob/5d0d2f9723b626770ffeab7e334ded67ae94fd7e/src/client.rs#L472

epilys commented 3 weeks ago

Observed with public-inbox-imapd, probably affecting all versions including latest tagged one v1.9.0. Permalink

sub cmd_authenticate ($$$) {
    my ($self, $tag) = @_; # $method = $_[2], should be "ANONYMOUS"
    $self->{-login_tag} = $tag;
    "+\r\n"; # challenge
}

EDIT: Patch available, waiting for review.

EDIT: Patch merged 7bdfb48c3f2c1084f2a7112e039bc0ca0d42c1c1