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:
parent
6b901a8e85
commit
2cf545f47d
1 changed files with 2 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue