Skip to content
Snippets Groups Projects
Commit 3773d76d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Steve Oliphant pointed out that test case 105 did not work anymore and this

was due to a missing fix for the password prompting
parent 94c5c7bd
No related branches found
No related tags found
No related merge requests found
......@@ -2491,6 +2491,9 @@ static CURLcode CreateConnection(struct SessionHandle *data,
/* no name given, get the password only */
sscanf(userpass, ":%127[^@]", data->state.passwd);
/* we have set the password */
data->state.passwdgiven = TRUE;
if(data->state.user[0]) {
char *newname=curl_unescape(data->state.user, 0);
if(strlen(newname) < sizeof(data->state.user)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment