From 3521763532f89ef1e97db1b4e7f5ade2790c3eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Tue, 28 Jul 2020 14:07:49 +0400 Subject: [PATCH] uri: add some note about the API scope MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- glib/guri.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/glib/guri.c b/glib/guri.c index 6179ea01d..1b1c3ef66 100644 --- a/glib/guri.c +++ b/glib/guri.c @@ -33,6 +33,11 @@ * The #GUri type and related functions can be used to parse URIs into * their components, and build valid URIs from individual components. * + * Note that #GUri scope is to help manipulate URIs in various applications, + * following the RFC 3986. In particular, it doesn't intend to cover web browser + * needs, and doesn't implement the WHATWG URL standard. No APIs are provided to + * help prevent homograph attacks. + * * ## Parsing URIs * * The most minimalist APIs for parsing URIs are g_uri_split() and