login options: remove the ;[options] support from CURLOPT_USERPWD
authorDaniel Stenberg <daniel@haxx.se>
Sat, 14 Dec 2013 21:39:27 +0000 (22:39 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 14 Dec 2013 21:40:37 +0000 (22:40 +0100)
commit169fedbdce93ecf14befb6e0e1ce6a2d480252a3
treea76338bb05eea5e6437424b88365ecf918526c1c
parent32b9c30e6705ca2b96b836cd0a8380b6a23478ff
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 <daniel@haxx.se>
12 files changed:
docs/libcurl/curl_easy_setopt.3
docs/libcurl/symbols-in-versions
include/curl/curl.h
include/curl/typecheck-gcc.h
lib/url.c
packages/OS400/README.OS400
packages/OS400/ccsidcurl.c
packages/OS400/curl.inc.in
src/tool_cfgable.h
src/tool_getparam.c
src/tool_operate.c
tests/data/test83