1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00
emacs/lisp/mail
Robert Pluim 745847ba8e Support non-ascii SMTP user and password strings
The user and more importantly the password used when
authenticating SMTP connections MUST be encoded in utf-8, and
'base64-encode-string' requires unibyte strings, so call
'encode-coding-string' on them before base64 encoding them in
case they are multibyte strings.

This applies to the CRAM-MD5, LOGIN, and PLAIN auth methods.
XOAUTH2 access tokens are specified to contain only characters
in the range #x20-#x7E (SPC through ~), so utf-8 encoding is not
necessary.

See RFC 4616 and RFC 4954 (or their later updates).

* lisp/mail/smtpmail.el (smtpmail-try-auth-method): Encode user
and password using utf-8 before base64 encoding.

(Bug#75628)
2025-02-13 14:30:38 +01:00
..
binhex.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
blessmail.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
emacsbug.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
feedmail.el Checkdoc fixes in mail/*.el 2024-07-08 14:24:33 +02:00
flow-fill.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
footnote.el ; Simplify last commit 2025-02-09 15:56:51 +01:00
hashcash.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ietf-drums-date.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
ietf-drums.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mail-extr.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mail-hist.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mail-parse.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mail-prsvr.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mail-utils.el Teach gnus/message about international Re: variants 2025-02-13 14:20:28 +01:00
mailabbrev.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mailalias.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mailclient.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mailheader.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
mspools.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
qp.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
reporter.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rfc822.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rfc2045.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rfc2047.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rfc2231.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rfc6068.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmail-spam-filter.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmail.el Teach gnus/message about international Re: variants 2025-02-13 14:20:28 +01:00
rmailedit.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmailkwd.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmailmm.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmailmsc.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmailout.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmailsort.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
rmailsum.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
sendmail.el Merge branch 'scratch/no-purespace' into 'master' 2025-02-01 04:56:52 +01:00
smtpmail.el Support non-ascii SMTP user and password strings 2025-02-13 14:30:38 +01:00
supercite.el Delete redundant lambdas around unary functions 2025-02-11 19:04:00 +01:00
undigest.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
unrmail.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
uudecode.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00
yenc.el Update copyright year to 2025 2025-01-01 07:39:17 +00:00