summaryrefslogtreecommitdiff
path: root/utils/nsurl.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/nsurl.h')
-rw-r--r--utils/nsurl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/nsurl.h b/utils/nsurl.h
index bc6e910a6..c6590bdbb 100644
--- a/utils/nsurl.h
+++ b/utils/nsurl.h
@@ -313,6 +313,9 @@ nserror nsurl_refragment(const nsurl *url, lwc_string *frag, nsurl **new_url);
* the created object.
*
* Any query component in url is replaced with query in new_url.
+ *
+ * Passing the empty string as a replacement will result in the query
+ * component being removed.
*/
nserror nsurl_replace_query(const nsurl *url, const char *query,
nsurl **new_url);