Merge branch 'master' into ejh_more_rename_woes_3

This commit is contained in:
Ed Hartnett 2019-02-14 14:07:33 -07:00 committed by GitHub
commit c61afffae3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,8 +160,8 @@ NC_authsetup(NCauth* auth, NCURI* uri)
if(ret) {nullfree(uri_hostport); return ret;}
}
}
setauthfield(auth,"HTTP.USERNAME",user);
setauthfield(auth,"HTTP.PASSWORD",pwd);
setauthfield(auth,"HTTP.CREDENTIALS.USERNAME",user);
setauthfield(auth,"HTTP.CREDENTIALS.PASSWORD",pwd);
nullfree(user);
nullfree(pwd);
nullfree(uri_hostport);