[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: url-generic-parse-url with Windows file paths
From: |
Sebastián Monía |
Subject: |
Re: url-generic-parse-url with Windows file paths |
Date: |
Wed, 12 Mar 2025 15:26:40 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>
> I think it is better to assume that "file:///c:" happens on Windows
> than to assume that "/c:" happens on Windows. IOW, I think it is
> better to fix this in url-generic-parse-url that in url-filename,
> since the latter is basically just an accessor.
Attached a patch to bug#76982 that does this, and adds back the leading
/ when putting the URL together again url-recreate-url
Tested with all samples sent in this thread and works ok for me.
Seb
--
Sebastián Monía
https://site.sebasmonia.com/
Re: url-generic-parse-url with Windows file paths, Eli Zaretskii, 2025/03/12