]> git.eshelyaron.com Git - emacs.git/commit
Don't casemap erc-sasl-user when set to :nick
authorF. Jason Park <jp@neverwas.me>
Fri, 3 Feb 2023 14:01:04 +0000 (06:01 -0800)
committerF. Jason Park <jp@neverwas.me>
Fri, 3 Feb 2023 14:02:33 +0000 (06:02 -0800)
commitc3f58a66514b2c1b0d2441c9cf37d94d64bef224
treebf7c95acf639d827ff8dd5e1ca73a0196a138962
parente444115d026c809395d4d248a99bb467bc87bb1d
Don't casemap erc-sasl-user when set to :nick

* lisp/erc/erc-sasl.el (erc-sasl-user): Fix doc string.
(erc-sasl--get-user): Don't apply casemapping when the option
`erc-sasl-user' is set to `:nick'.  While many servers and
auth-services providers perform case-folding when comparing SASL
usernames, only some recognize RFC1459 mappings, which ERC previously
applied blindly.  Instead, ERC now behaves like other clients in
leaving such preparation in the hands of the server.  This bug was
introduced with changes new to ERC 5.5 and Emacs 29 (bug#29108).
lisp/erc/erc-sasl.el