GNU bug report logs - #78640
elisp url.el cannot handle some valid URLs

Previous Next

Package: emacs;

Reported by: 林羽 <0713ws <at> gmail.com>

Date: Fri, 30 May 2025 03:59:02 UTC

Severity: normal

Tags: fixed

Fixed in version 31.1

Done: Robert Pluim <rpluim <at> gmail.com>

Full log


View this message in rfc822 format

From: 林羽 <0713ws <at> gmail.com>
To: 78640 <at> debbugs.gnu.org
Subject: bug#78640: elisp url.el cannot handle some valid URLs
Date: Fri, 30 May 2025 10:57:26 +0800
[Message part 1 (text/plain, inline)]
(url-insert-file-contents “http://127.0.0.1:9999?test=1
<http://127.0.0.1:9999/?test=1>”)

GET ?test=1 HTTP/1.1 MIME-Version: 1.0 Connection: keep-alive Host:
127.0.0.1:9999 Accept-encoding: gzip Accept: */* User-Agent: URL/Emacs
Emacs/31.0.50 (TTY; x86_64-suse-linux-gnu)

Should it be /?test=1, Missing "/" This url complies with the RFC 3986
standard and can be handled normally in tools such as curl
[Message part 2 (text/html, inline)]

This bug report was last modified 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.