Details
-
Bug
-
Resolution: Done
-
P4: Low
-
4.7.1
-
None
-
Tested on OS X but likely affects all other platforms as well.
-
6057909d2b73c2c3aa01a0e9216714ef07fb652f, 04aae32f85822110984252e421b513d8ab1c89ee
Description
When QNetworkAccessManager::authenticationRequired() is emitted and only a password is entered then the password will not be sent to the server. In addition, if a previous request for the same URL was loaded with a non-empty user (with an optional password) then that user and password combination will be used instead. Looks like Qt picks this up from the authentication cache at some point.
Attaching an autotest (along with a server-side auth.php file) that shows the problem, shouldn't be too hard for you guys to adapt this into your internal QNetworkReply test.