]> git.eshelyaron.com Git - emacs.git/commit
url-parse.el: correct code for Windows paths (bug#76982)
authorSebastián Monía <sebastian@sebasmonia.com>
Mon, 28 Apr 2025 06:19:06 +0000 (08:19 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 29 Apr 2025 07:32:47 +0000 (09:32 +0200)
commit9a13afb174e32c565b3bd673338f09e5831c3991
tree37b4e6ed4f6d3b823fa06e787e472261251040a2
parentc5621177e990a027287b037dec3f7dedc35d5e42
url-parse.el: correct code for Windows paths (bug#76982)

* lisp/url/url-parse.el (url-recreate-url): Handle empty filenames
without errors.

* test/lisp/url/url-parse-tests.el
(url-generic-parse-url/ms-windows-file-uri-hanlding): Add one
more test for the scenario above.

(cherry picked from commit bc5afe421b47ec31ce94ad8dc02912acd93c3319)
lisp/url/url-parse.el
test/lisp/url/url-parse-tests.el