[libsoup] Improve documentation of soup_uri_normalize
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup] Improve documentation of soup_uri_normalize
- Date: Tue, 9 Feb 2016 15:00:11 +0000 (UTC)
commit 52690b8ba673b595095f36ddf6e6b5c94373e52c
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Mon Feb 8 19:24:35 2016 -0600
Improve documentation of soup_uri_normalize
The docs do not mention anything about %-encoding, but that's part of
the normalization since 226f6382.
https://bugzilla.gnome.org/show_bug.cgi?id=761742
libsoup/soup-uri.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index ccb5c04..dc1b6b6 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -868,7 +868,8 @@ uri_normalized_copy (const char *part, int length,
* @unescape_extra: (allow-none): reserved characters to unescape (or %NULL)
*
* %<!-- -->-decodes any "unreserved" characters (or characters in
- * @unescape_extra) in @part.
+ * @unescape_extra) in @part, and %<!-- -->-encodes any non-ASCII
+ * characters, spaces, and non-printing characters in @part.
*
* "Unreserved" characters are those that are not allowed to be used
* for punctuation according to the URI spec. For example, letters are
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]