From 169fedbdce93ecf14befb6e0e1ce6a2d480252a3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 14 Dec 2013 22:39:27 +0100 Subject: login options: remove the ;[options] support from CURLOPT_USERPWD To avoid the regression when users pass in passwords containing semi- colons, we now drop the ability to set the login options with the same options. Support for login options in CURLOPT_USERPWD was added in 7.31.0. Test case 83 was modified to verify that colons and semi-colons can be used as part of the password when using -u (CURLOPT_USERPWD). Bug: http://curl.haxx.se/bug/view.cgi?id=1311 Reported-by: Petr Bahula Assisted-by: Steve Holme Signed-off-by: Daniel Stenberg --- docs/libcurl/curl_easy_setopt.3 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/libcurl/curl_easy_setopt.3') diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index 51edaea97..2cfa2663c 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -1165,22 +1165,22 @@ authentication. You should not use this option together with the (older) CURLOPT_USERPWD option. To specify the password and login options, along with the user name, use the -\fICURLOPT_PASSWORD\fP and \fICURLOPT_OPTIONS\fP options or alternatively use -the older \CURLOPT_USERPWD\fP option instead. (Added in 7.19.1) +\fICURLOPT_PASSWORD\fP and \fICURLOPT_LOGIN_OPTIONS\fP options. (Added in +7.19.1) .IP CURLOPT_PASSWORD Pass a char * as parameter, which should be pointing to the zero terminated password to use for the transfer. The CURLOPT_PASSWORD option should be used in conjunction with the \fICURLOPT_USERNAME\fP option. (Added in 7.19.1) -.IP CURLOPT_OPTIONS +.IP CURLOPT_LOGIN_OPTIONS Pass a char * as parameter, which should be pointing to the zero terminated options string to use for the transfer. -\CURLOPT_OPTIONS\fP can be used to set protocol specific authentication options, -such as the preferred authentication mechanism via "AUTH=NTLM" or "AUTH=*", and -should be used in conjunction with the \fICURLOPT_USERNAME\fP option. (Added in -7.34.0) +\CURLOPT_LOGIN_OPTIONS\fP can be used to set protocol specific login options, +such as the preferred authentication mechanism via "AUTH=NTLM" or "AUTH=*", +and should be used in conjunction with the \fICURLOPT_USERNAME\fP option. +(Added in 7.34.0) .IP CURLOPT_PROXYUSERNAME Pass a char * as parameter, which should be pointing to the zero terminated user name to use for the transfer while connecting to Proxy. -- cgit v1.2.3