mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00

Allow port number without host, real fix for #71. Also compare port numbers in xmlBuildRelativeURI. Fix handling of port numbers in xmlUriEscape.
22 lines
677 B
Plaintext
22 lines
677 B
Plaintext
http://foo.com/path/to/index.html?orig
|
|
http://foo.com/path/to/
|
|
http://foo.com/path/to/bar
|
|
http://foo.com/path/to/bar#baz
|
|
http://foo.com/path/to/bar?baz
|
|
http://foo.com/path/to/bar?baz#baz2
|
|
http://foo.com/path/to/index.html?orig#baz
|
|
http://foo.com/path/to/index.html?baz
|
|
http://foo.com/path/to/index.html?baz#baz2
|
|
http://foo.com/path/up.a.notch.html#wow
|
|
http://foo.com/path/up.a.notch.html?wow
|
|
http://foo.com/path/up.a.notch.html?wow#wow2
|
|
http://foo.com/root.cgi#OK
|
|
http://foo.com/root.cgi?OK
|
|
http://foo.com/root.cgi?OK#OK2
|
|
http://elsewhere.com/#deep
|
|
http://elsewhere.com/?deep
|
|
http://elsewhere.com/?deep#deep2
|
|
http://elsewhere.com/bar
|
|
http://elsewhere.com:8080/bar
|
|
http://:8080
|