[ipxe-devel] [ipxe/ipxe] Add uribase setting for getting the host:port portion of a URI. (#114)

planier-g notifications at github.com
Thu May 28 15:56:38 UTC 2020


This is useful for fetching relative URLs based on the DHCP server
provided file URI (as in "${filename|uribase}/some/other/path").

DHCPv6 does not provide a next-server equivalent so using uribase provides something like that for http URIs provided as the filename.

You can view, comment on, or merge this pull request online at:

  https://github.com/ipxe/ipxe/pull/114

-- Commit Summary --

  * Add uri_base setting for getting the host:port portion of a URI.

-- File Changes --

    M src/core/settings.c (46)
    M src/include/ipxe/settings.h (1)
    M src/tests/settings_test.c (13)

-- Patch Links --

https://github.com/ipxe/ipxe/pull/114.patch
https://github.com/ipxe/ipxe/pull/114.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ipxe/ipxe/pull/114
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20200528/9f468835/attachment.htm>


More information about the ipxe-devel mailing list