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


Message #23 received at 78640 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 78640 <at> debbugs.gnu.org, schwab <at> linux-m68k.org, 0713ws <at> gmail.com
Subject: Re: bug#78640: elisp url.el cannot handle some valid URLs
Date: Mon, 09 Jun 2025 17:42:27 +0300
> From: Robert Pluim <rpluim <at> gmail.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  78640 <at> debbugs.gnu.org,  林羽
>  <0713ws <at> gmail.com>
> Date: Mon, 09 Jun 2025 14:47:57 +0200
> 
> >>>>> On Mon, 09 Jun 2025 12:01:23 +0200, Andreas Schwab <schwab <at> linux-m68k.org> said:
> 
>     Andreas> The two conditions could be combined since (concat "/" real-fname) also
>     Andreas> works if real-fname is "".
> 
>     Andreas>   (if (not (string-match-p "\\`/" real-fname))
>     Andreas>       (setq real-fname (concat "/" real-fname)))
> 
> Sure. Although I think Iʼll use `unless' and invert the test.

Thanks, feel free to install on the master branch.




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.