mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
docs: Add note about uri normalization for equality
This commit is contained in:
parent
64f478dca3
commit
9da213ea34
11
glib/guri.c
11
glib/guri.c
@ -132,11 +132,12 @@
|
|||||||
*
|
*
|
||||||
* Note that there is no `g_uri_equal ()` function, because comparing
|
* Note that there is no `g_uri_equal ()` function, because comparing
|
||||||
* URIs usefully requires scheme-specific knowledge that #GUri does
|
* URIs usefully requires scheme-specific knowledge that #GUri does
|
||||||
* not have. For example, `http://example.com/` and
|
* not have. #GUri can help with normalization if you use the various
|
||||||
* `http://EXAMPLE.COM:80` have exactly the same meaning according
|
* encoded #GUriFlags as well as %G_URI_FLAGS_SCHEME_NORMALIZE however
|
||||||
* to the HTTP specification, and `data:,foo` and
|
* it is not comprehensive.
|
||||||
* `data:;base64,Zm9v` resolve to the same thing according to the
|
* For example, `data:,foo` and `data:;base64,Zm9v` resolve to the same
|
||||||
* `data:` URI specification.
|
* thing according to the `data:` URI specification which GLib does not
|
||||||
|
* handle.
|
||||||
*
|
*
|
||||||
* Since: 2.66
|
* Since: 2.66
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user