mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
if userpwd is "username:", this now implies a blank password while only
"username" will cause libcurl to prompt for password. Bryan Kemp noticed. test case 136 is added for this
This commit is contained in:
parent
2ede47b8c8
commit
9a2de6e6ee
2 changed files with 13 additions and 5 deletions
|
|
@ -570,6 +570,9 @@ struct UrlState {
|
|||
char proxyuser[MAX_CURL_USER_LENGTH];
|
||||
char proxypasswd[MAX_CURL_PASSWORD_LENGTH];
|
||||
|
||||
bool passwdgiven; /* set TRUE if an application-provided password has been
|
||||
set */
|
||||
|
||||
struct timeval keeps_speed; /* for the progress meter really */
|
||||
|
||||
/* 'connects' will be an allocated array with pointers. If the pointer is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue