[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#78640: elisp url.el cannot handle some valid URLs
From: |
Robert Pluim |
Subject: |
bug#78640: elisp url.el cannot handle some valid URLs |
Date: |
Wed, 11 Jun 2025 17:27:14 +0200 |
tags 78640 fixed
close 78640 31.1
quit
>>>>> On Mon, 09 Jun 2025 17:42:27 +0300, Eli Zaretskii <eliz@gnu.org> said:
>> From: Robert Pluim <rpluim@gmail.com>
>> Cc: Eli Zaretskii <eliz@gnu.org>, 78640@debbugs.gnu.org, 林羽
>> <0713ws@gmail.com>
>> Date: Mon, 09 Jun 2025 14:47:57 +0200
>>
>> >>>>> On Mon, 09 Jun 2025 12:01:23 +0200, Andreas Schwab
<schwab@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.
Eli> Thanks, feel free to install on the master branch.
Done
Robert
--
Pushed to master.
7e62c2cf3aa 2025-06-11T17:10:46+02:00 "Normalize URL path correctly for http"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7e62c2cf3aadb52397bcff8439d00084cd36afa0