Commit e01bbc12 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka
Browse files

(message-idna-to-ascii-rhs-1): Protect against local users' addresses that

 don't have domain parts.
parent 36574ee0
2008-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
* message.el (message-idna-to-ascii-rhs): Use
message-narrow-to-headers-or-head rather than message-narrow-to-head
since there will be the message header separator.
* message.el (message-idna-to-ascii-rhs-1): Protect against local
users' addresses that don't have domain parts.
(message-idna-to-ascii-rhs): Use message-narrow-to-headers-or-head
rather than message-narrow-to-head since there will be the message
header separator.
2008-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
......
......@@ -5635,7 +5635,10 @@ subscribed address (and not the additional To and Cc header contents)."
(dolist (rhs
(mm-delete-duplicates
(mapcar (lambda (rhs) (or (cadr (split-string rhs "@")) ""))
(mapcar 'downcase
(mapcar (lambda (domain)
(if domain
(downcase domain)
""))
(mapcar
'cadr
(mail-extract-address-components field t))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment