[Libreoffice-bugs] [Bug 115547] Firebird: Link is formed to an external file with file:///C: (three slash)
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 10 14:42:02 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=115547
--- Comment #27 from avsharapov at list.ru ---
(In reply to Mike Kaganski from comment #26)
> (In reply to avsharapov from comment #0)
> > And correctly two file://C:
>
> (In reply to Julien Nabet from comment #11)
> > Indeed, there are 3 slashes but it opens.
> > I agree, that seeing 3 "/" is a bit weird.
>
> Just FTR.
>
> The *correct* form for local file URL is using *three* forward slashes. The
> first two start "authority" part of file hierarchy; and the third coming
> immediately means "empty authority part, i.e. local system", and starts
> absolute path.
>
> Ref: RFC8089, which shows correct examples for URLs both on Unix-like, as
> well as Windows, paths. They indeed have three slashes. Two slashes and an
> absolute path without an "authority" (usually host) is invalid, although
> widely accepted as a commonly met variant.
A very good theory. However, in practice, LO forms a link with three slashes.
And an error occurs (Windows 10).
If you change the link and make two slashes, then everything starts working.
I vote for everything to work. :)(In reply to Mike Kaganski from comment #26)
> (In reply to avsharapov from comment #0)
> > And correctly two file://C:
>
> (In reply to Julien Nabet from comment #11)
> > Indeed, there are 3 slashes but it opens.
> > I agree, that seeing 3 "/" is a bit weird.
>
> Just FTR.
>
> The *correct* form for local file URL is using *three* forward slashes. The
> first two start "authority" part of file hierarchy; and the third coming
> immediately means "empty authority part, i.e. local system", and starts
> absolute path.
>
> Ref: RFC8089, which shows correct examples for URLs both on Unix-like, as
> well as Windows, paths. They indeed have three slashes. Two slashes and an
> absolute path without an "authority" (usually host) is invalid, although
> widely accepted as a commonly met variant.
A very good theory. However, in practice, LO forms a link with three slashes.
And an error occurs (Windows 10).
If you change the link and make two slashes, then everything starts working.
I vote for everything to work. :)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210910/59339868/attachment.htm>
More information about the Libreoffice-bugs
mailing list