Returns a string representing
This is not guaranteed to return a string which is identical to the
uri was parsed from. However, if the source URI was
syntactically correct (according to RFC 3986), and it was parsed
g_uri_to_string() is guaranteed to return
a string which is at least semantically equivalent to the source
URI (according to RFC 3986).
uri might contain sensitive details, such as authentication parameters,
or private data in its query string, and the returned string is going to be
logged, then consider using
g_uri_to_string_partial() to redact parts.