Subject: Re: bug#77776: 31.0.50; rfc6068-parse-mailto-url may fail with inhibit-eol-conversion
From: Eli Zaretskii <[email-masked]>
To: Kazuhiro Ito <[email-masked]>
Cc: [email-masked]
Date: Sat, 19 Apr 2025 17:22:59 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

> Date: Sun, 13 Apr 2025 20:08:20 +0900
> From: Kazuhiro Ito <[email-masked]>
> 
> Following code returns unexpected result.
> 
> (let ((inhibit-eol-conversion t))
>   (require 'rfc6068)
>   (rfc6068-parse-mailto-url
>    (concat "mailto:[email-masked]?body="
> 	   "send%20current-issue%0D%0Asend%20index")))
> 
> -> (("To" . "[email-masked]") ("Body" . "send current-issue^M
> send index"))
> 
> Expected result is
> 
> -> (("To" . "[email-masked]") ("Body" . "send current-issue
> send index"))
> 
> Furthermore, if URL contains "%0D%0A" and "%0A", though it is not
> compliant with RFC 6068, "%0D%0A" may be decoded  CRLF, not LF.

Thanks, installed on the master branch, and closing the bug.