Formats and escapes a string for use as a URI.
This function takes variadic arguments.
| format |
a standard printf format string, but notice <link linkend="string-precision">string precision pitfalls</link> documented in to_string |
| ... |
the parameters to insert into the format string |
|
a newly-allocated string holding the result.The returned string should be freed with g_free when no longer needed. |