mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Clarify docs for g_uri_escape_string (#508773)
2008-01-14 Alexander Larsson <alexl@redhat.com> * glib/gurifuncs.c: Clarify docs for g_uri_escape_string (#508773) svn path=/trunk/; revision=6304
This commit is contained in:
parent
2a5748310b
commit
f879f67a81
@ -1,3 +1,8 @@
|
||||
2008-01-14 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* glib/gurifuncs.c:
|
||||
Clarify docs for g_uri_escape_string (#508773)
|
||||
|
||||
2008-01-12 Andre Klapper <a9016009@gmx.de>
|
||||
|
||||
* configure.in: ALL_LINGUAS: remove line breaks from previous
|
||||
|
@ -200,6 +200,13 @@ g_uri_get_scheme (const char *uri)
|
||||
* @allow_utf8: %TRUE if the result can include UTF-8 characters.
|
||||
*
|
||||
* Escapes a string for use in a URI.
|
||||
*
|
||||
* Normally all characters that are not "unreserved" (i.e. ASCII alphanumerical
|
||||
* characters plus dash, dot, underscore and tilde) are escaped.
|
||||
* But if you specify characters in @reserved_chars_allowed they are not
|
||||
* escaped. This is useful for the "reserved" characters in the URI
|
||||
* specification, since those are allowed unescaped in some portions of
|
||||
* a URI.
|
||||
*
|
||||
* Returns: an escaped version of @unescaped. The returned string should be
|
||||
* freed when no longer needed.
|
||||
|
Loading…
Reference in New Issue
Block a user