Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.1, 4.7.3
-
None
Description
When username with domain part is set in QNetworProxy constructor:
QNetworkProxy configuredProxy(QNetworkProxy::HttpProxy, url.host(), url.port(), "domain\\user", "password"); QNetworkProxy::setApplicationProxy(configuredProxy);
NTLM proxy auth fails (I believe that MD5 Digest auth fails too) because QAuthenticator treats "domain
user" string as a single user name. At the moment of initialization authentication method is None and hence no username parsing is performed. Username should be re-parsed when auth method is changed by proxy reply HTTP headers. Attached patch fixes the problem.
Attachments
Issue Links
- resulted in
-
QTBUG-17322 Fix NTLM(v2) proxy authentication once and for all
- Closed