[glib: 1/13] uri: add some note about the API scope
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/13] uri: add some note about the API scope
- Date: Wed, 5 Aug 2020 16:06:03 +0000 (UTC)
commit 3521763532f89ef1e97db1b4e7f5ade2790c3eb5
Author: Marc-André Lureau <marcandre lureau redhat com>
Date: Tue Jul 28 14:07:49 2020 +0400
uri: add some note about the API scope
Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]