https://bz.apache.org/bugzilla/show_bug.cgi?id=69680

--- Comment #4 from Björn Kautler <bjo...@kautler.net> ---
> Note the code applies the substring to the result of URL#getFile which should 
> already take care of the authority part in file: URIs.

Yes it does, I wrote that in my last comment.
But that does make it worse, not better.
Look at my examples, 
For example for
`file://wsl$/podman-machine-default/etc/fstab`
you will get
`podman-machine-default/etc/fstab`
while you should get
`//wsl$/podman-machine-default/etc/fstab`
or imho better the full URL
`file://wsl$/podman-machine-default/etc/fstab`

as well as paths on Linux as I also just described which are shown as relative
paths while they should be absolute.

As I just described imho the only case that is handled correctly is a local
file URL on Windows. All other cases are imho wrong.
But feel free to disagree and do however you think, after all it is just an
info logging at least where I have seen it happen. 🤷‍♂️

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to