lib/url: Include port in pb_url_to_string() petitboot-1.7.x v1.7.5
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 17 Jan 2019 02:32:24 +0000 (13:32 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Fri, 1 Feb 2019 04:06:50 +0000 (15:06 +1100)
commit47038255f6ec971e8273c441066f8b1cba3380b7
tree67516b942233f82dcbb8a25abc98744f54ad131b
parent8b9d8bf7c9837832347dd8018b9910cc7d2b4371
lib/url: Include port in pb_url_to_string()

And include a pxe-parser test which uses a port in the path prefix to
exercise this. This could cause PXE discovery failures if parameters
such as pathprefix included a port in the URL.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
(cherry picked from commit 28d0d7035ee3099935ef264db40a86142c098ec5)
lib/url/url.c
test/parser/Makefile.am
test/parser/test-pxe-pathprefix-port.c [new file with mode: 0644]