Fix 'rfc6068-parse-mailto-url' with 'inhibit-eol-conversion'
* lisp/mail/rfc6068.el (rfc6068-parse-mailto-url): Fix EOL type to CRLF and never inhibit EOL conversion in decoding. (Bug#77776)
This commit is contained in:
committed by
Eli Zaretskii
parent
6b901a8e85
commit
2cf545f47d
@@ -39,7 +39,8 @@ string instead of decoding as utf-8."
|
||||
(buffer-string))))
|
||||
(if inhibit-decode
|
||||
string
|
||||
(decode-coding-string string 'utf-8))))
|
||||
(let (inhibit-eol-conversion)
|
||||
(decode-coding-string string 'utf-8-dos)))))
|
||||
|
||||
(defun rfc6068-parse-mailto-url (mailto-url)
|
||||
"Parse MAILTO-URL, and return an alist of header-name, header-value pairs.
|
||||
|
||||
Reference in New Issue
Block a user