table of contents
| MONGOC_URI_UNESCAPE(3) | libmongoc | MONGOC_URI_UNESCAPE(3) |
SYNOPSIS¶
char * mongoc_uri_unescape (const char *escaped_string);
PARAMETERS¶
- •
- escaped_string: A utf8 encoded string.
DESCRIPTION¶
Unescapes an URI encoded string. For example, "%40" would become "@".
RETURNS¶
Returns a newly allocated string that should be freed with bson_free() <https://www.mongoc.org/libbson/current/bson_free.html>. If escaped_string contains an invalid UTF-8 character or an invalid escape sequence, returns NULL.
Author¶
MongoDB, Inc
Copyright¶
2009-present, MongoDB, Inc.
| November 26, 2025 | 2.2.0 |