GNU bug report logs -
#77776
31.0.50; rfc6068-parse-mailto-url may fail with inhibit-eol-conversion
Previous Next
To reply to this bug, email your comments to 77776 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#77776
; Package
emacs
.
(Sun, 13 Apr 2025 11:10:06 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 13 Apr 2025 11:10:06 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Following code returns unexpected result.
(let ((inhibit-eol-conversion t))
(require 'rfc6068)
(rfc6068-parse-mailto-url
(concat "mailto:infobot <at> example.com?body="
"send%20current-issue%0D%0Asend%20index")))
-> (("To" . "infobot <at> example.com") ("Body" . "send current-issue^M
send index"))
Expected result is
-> (("To" . "infobot <at> example.com") ("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.
--
Kazuhiro Ito
[0001-Fix-rfc6068-parse-mailto-url-with-inhibit-eol-conver.patch (text/plain, attachment)]
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sat, 19 Apr 2025 14:24:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
:
bug acknowledged by developer.
(Sat, 19 Apr 2025 14:24:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 77776-done <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 13 Apr 2025 20:08:20 +0900
> From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
>
> Following code returns unexpected result.
>
> (let ((inhibit-eol-conversion t))
> (require 'rfc6068)
> (rfc6068-parse-mailto-url
> (concat "mailto:infobot <at> example.com?body="
> "send%20current-issue%0D%0Asend%20index")))
>
> -> (("To" . "infobot <at> example.com") ("Body" . "send current-issue^M
> send index"))
>
> Expected result is
>
> -> (("To" . "infobot <at> example.com") ("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.
This bug report was last modified 5 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.