[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34458: 27.0.50; Gnus's nnimap truncates password
From: |
Lars Ingebrigtsen |
Subject: |
bug#34458: 27.0.50; Gnus's nnimap truncates password |
Date: |
Thu, 04 Jul 2019 15:23:55 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Amin Bandali <bandali@gnu.org> writes:
> Have you tried reproducing this on your end?
No, but the code is:
(defun nnimap-login (user password)
(cond
;; Prefer plain LOGIN if it's enabled (since it requires fewer
;; round trips than CRAM-MD5, and it's less likely to be buggy),
;; and we're using an encrypted connection.
((and (not (nnimap-capability "LOGINDISABLED"))
[...]
(nnimap-command "LOGIN %S %S" user password))
[...]
((and (not (nnimap-capability "LOGINDISABLED"))
[...]
(nnimap-command "LOGIN %S %S" user password))
((and (nnimap-capability "AUTH=PLAIN")
[...]
(nnimap-command
"AUTHENTICATE PLAIN %s"
(base64-encode-string
(format "\000%s\000%s"
(nnimap-quote-specials user)
(nnimap-quote-specials password)))))))
so if you're using any of the plain LOGIN things to the IMAP server,
there's really no code in there that I can see that can truncate
anything...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#34458: 27.0.50; Gnus's nnimap truncates password,
Lars Ingebrigtsen <=