[Bug 281119] pkg(7) bootstrap treats file URLs differently than pkg(8)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Aug 2024 03:00:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281119

Jamie Landeg-Jones <jamie@catflap.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamie@catflap.org

--- Comment #2 from Jamie Landeg-Jones <jamie@catflap.org> ---
(In reply to Kyle Evans from comment #1)

Actually, "///" is correct. "//" is invalid.

It's not relative vs absolute - *all* paths are considered absolute.

The format is file://<host>/<path>

If <host> is omitted, or is the word "localhost" then a local connection is
made.

""file://my/pkg/repo" actually means the path /pkg/repo on a remote host "my".

https://datatracker.ietf.org/doc/html/rfc8089

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