1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-02-14 13:58:27 +03:00
libxml2/test/URI/uri.data
Nick Wellnhofer ae0c9cfa05 uri: Fix handling of port numbers
Allow port number without host, real fix for #71.

Also compare port numbers in xmlBuildRelativeURI.

Fix handling of port numbers in xmlUriEscape.
2022-12-13 01:43:49 +01:00

22 lines
313 B
Plaintext

.
bar
bar#baz
bar?baz
bar?baz#baz2
#baz
?baz
?baz#baz2
../up.a.notch.html#wow
../up.a.notch.html?wow
../up.a.notch.html?wow#wow2
/root.cgi#OK
/root.cgi?OK
/root.cgi?OK#OK2
http://elsewhere.com/#deep
http://elsewhere.com/?deep
http://elsewhere.com/?deep#deep2
//elsewhere.com/bar
//elsewhere.com:8080/bar
//:8080