[libsoup] soup_uri_to_string: document that passwords are never output



commit 3c9849e3251534ff1dc0a24e5b9ba9561a2d6404
Author: Dan Winship <danw gnome org>
Date:   Sat Jan 18 21:47:37 2014 -0500

    soup_uri_to_string: document that passwords are never output

 libsoup/soup-uri.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libsoup/soup-uri.c b/libsoup/soup-uri.c
index e3092dc..42c2f68 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 *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]