Subject: bug#78640: elisp url.el cannot handle some valid URLs

From: Robert Pluim <[email-masked]>
Date: Mon, 09 Jun 2025 14:47:57 +0200

>>>>> On Mon, 09 Jun 2025 12:01:23 +0200, Andreas Schwab <[email-masked]> 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.

Robert
--