summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-01-18 21:47:37 -0500
committerDan Winship <danw@gnome.org>2014-01-18 21:47:37 -0500
commit3c9849e3251534ff1dc0a24e5b9ba9561a2d6404 (patch)
tree8efcec9f3b3b399051b1caa818f6ae1724d7fadd
parent4684b8c77f65db28a39bbd2c88d861d41931498c (diff)
downloadlibsoup-3c9849e3251534ff1dc0a24e5b9ba9561a2d6404.tar.gz
soup_uri_to_string: document that passwords are never output
-rw-r--r--libsoup/soup-uri.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index e3092dcf..42c2f680 100644
--- a/libsoup/soup-uri.c
+++ b/libsoup/soup-uri.c
@@ -576,6 +576,9 @@ soup_uri_to_string_internal (SoupURI *uri, gboolean just_path_and_query,
* together. That is, it constructs the string that would be needed in
* the Request-Line of an HTTP request for @uri.
*
+ * Note that the output will never contain a password, even if @uri
+ * does.
+ *
* Return value: a string representing @uri, which the caller must free.
**/
char *