[prev in list] [next in list] [prev in thread] [next in thread] 

List:       curl-commits
Subject:    cvs: curl/docs/libcurl curl_easy_setopt.3,1.34,1.35
From:       Daniel Stenberg <bagder () users ! sourceforge ! net>
Date:       2003-03-31 4:04:42
[Download RAW message or body]

Update of /cvsroot/curl/curl/docs/libcurl
In directory sc8-pr-cvs1:/tmp/cvs-serv4638/docs/libcurl

Modified Files:
	curl_easy_setopt.3 
Log Message:
clarify USERPWD somewhat more


Index: curl_easy_setopt.3
===================================================================
RCS file: /cvsroot/curl/curl/docs/libcurl/curl_easy_setopt.3,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- curl_easy_setopt.3	28 Feb 2003 07:53:31 -0000	1.34
+++ curl_easy_setopt.3	31 Mar 2003 04:04:40 -0000	1.35
@@ -315,8 +315,16 @@
 .TP
 .B CURLOPT_USERPWD
 Pass a char * as parameter, which should be [user name]:[password] to use for
-the connection. If the password is left out, you will be prompted for it.
-\fICURLOPT_PASSWDFUNCTION\fP can be used to set your own prompt function.
+the connection. If both the colon and password is left out, you will be
+prompted for it while using a colon with no password will make libcurl use an
+empty password. \fICURLOPT_PASSWDFUNCTION\fP can be used to set your own
+prompt function.
+
+When using HTTP and CURLOPT_FOLLOWLOCATION, libcurl might perform several
+requests to possibly different hosts. libcurl will only send this user and
+password information to hosts using the initial host name, so if libcurl
+follows locations to other hosts it will not send the user and password to
+those. This is enforced to prevent accidental information leakage.
 .TP
 .B CURLOPT_PROXYUSERPWD
 Pass a char * as parameter, which should be [user name]:[password] to use for



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic