modern-email / defects

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

Trailing space in `CAPABILITY` response #21

Open duesee opened 4 months ago

duesee commented 4 months ago

https://github.com/emersion/go-imap/issues/571#issuecomment-1980629563#26

duesee commented 2 months ago

I tried to reproduce with pwntools ...

c = connect("imap.exmail.qq.com", 993, ssl=True)
c.recv()
c.send("a capability\r\n")
c.recv()

... but can't reproduce the whitespace. Was it fixed? Reported?

emersion commented 2 months ago

The offending space only seems to appear after authentication in the original issue (AUTH= are missing in the cap list).

duesee commented 2 months ago

Ah! Thanks! I've set this to "reproduced".