Regression: NTLM credentials are erroneously requested on location.reload
Categories
(Core :: Networking, defect, P1)
Tracking
()
People
(Reporter: gserg.g, Assigned: smayya)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [necko-triaged][necko-priority-queue])
Attachments
(2 files)
64.48 KB,
application/octet-stream
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
RyanVM
:
approval-mozilla-release+
dmeehan
:
approval-mozilla-esr128+
|
Details | Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Steps to reproduce:
Regression in v128 compared to v127.0.2.
We have a local intranet portal that requires Windows authentication.
Its domain name is added to Firefox's network.automatic-ntlm-auth.trusted-uris
so that Firefox sends the NTML credentials automatically.
That works.
Some pages on that portal include a javascript line location.refresh(true);
to force a refresh on a timer. That has stopped working in 128 as compared to 127.0.2.
Actual results:
Starting from Firefox 128, executing location.refresh(true);
results in a user prompt for credentials. Failure to provide them results in HTTP 401.
This was not the case in versions 127.0.2 and older.
Verified by rolling back to 127.0.2 and not observing this behaviour there.
Expected results:
location.refresh(true);
should silently succeed.
Err:
location.reload(true)
, like in the title, not location.refresh(true)
like in the report text. Sorry.
Comment 2•4 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Networking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Assignee | ||
Comment 3•4 months ago
|
||
Hello gserg.g,
Thank you for reporting the issue promptly.
Could you please share the http logs for the issue?
We had made recent changes to our auth behavior.
Could you please confirm if the issue no longer exists once you change the pref network.auth.use_redirect_for_retries
to false
Assignee | ||
Comment 4•4 months ago
|
||
Keeping this in priority review queue until we get the logs from the reporter.
(In reply to Sunil Mayya from comment #3)
Could you please share the http logs for the issue?
Please find attached.
Could you please confirm if the issue no longer exists once you change the pref
network.auth.use_redirect_for_retries
to false
I can confirm. That fixes it.
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 7•4 months ago
|
||
We are going to disable this pref and release it soon.
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 8•4 months ago
|
||
Updated•4 months ago
|
Comment 10•4 months ago
|
||
bugherder |
Comment 11•4 months ago
|
||
Set release status flags based on info from the regressing bug 1896350
Comment 12•4 months ago
|
||
The patch landed in nightly and beta is affected.
:smayya, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- If no, please set
status-firefox129
towontfix
.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 13•4 months ago
|
||
[Tracking Requested - why for this release]:
We should fix this in 128
Assignee | ||
Updated•4 months ago
|
Assignee | ||
Comment 14•4 months ago
•
|
||
Comment on attachment 9413267 [details]
Bug 1908115 - disable network.auth.use_redirect_for_retries for release. r=#necko
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: This affect users using NTLM authentication.
- User impact if declined: Authentication will fail.
- Fix Landed on Version: 130
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This pref restores firefox's old behavior for authentication which has been deployed for users for a long time.
Comment 15•4 months ago
|
||
Sunil, your ESR uplift request mentions the fix landed in Fx129 but the patch landed in central for Fx130?
You mention in Comment 13 that this should be fixed in Fx128.
Could you add both a beta and a release uplift request?
We could include this in beta for Fx129 and the scheduled dot release for Fx128
Assignee | ||
Comment 16•4 months ago
|
||
Comment on attachment 9413267 [details]
Bug 1908115 - disable network.auth.use_redirect_for_retries for release. r=#necko
Beta/Release Uplift Approval Request
- User impact if declined: NTLM auth might fail
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The patch restores old stable auth behavior of firefox before 128
- String changes made/needed:
- Is Android affected?: Yes
Assignee | ||
Comment 17•4 months ago
|
||
Comment on attachment 9413267 [details]
Bug 1908115 - disable network.auth.use_redirect_for_retries for release. r=#necko
Beta/Release Uplift Approval Request
- User impact if declined: NTLM auth might fail
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The patch restores old stable auth behavior of firefox before 128
- String changes made/needed:
- Is Android affected?: Yes
Assignee | ||
Comment 18•4 months ago
|
||
Thanks Donal for correcting!
I have updated the request to include the fix in beta. The fix must go for dot release for 128 and beta for 129.
Comment 19•4 months ago
|
||
Comment on attachment 9413267 [details]
Bug 1908115 - disable network.auth.use_redirect_for_retries for release. r=#necko
Approved for 129.0b7
Comment 20•4 months ago
|
||
uplift |
Updated•4 months ago
|
Comment 21•4 months ago
|
||
Comment on attachment 9413267 [details]
Bug 1908115 - disable network.auth.use_redirect_for_retries for release. r=#necko
Approved for 128.1esr.
Comment 22•4 months ago
|
||
uplift |
Updated•4 months ago
|
Comment 23•4 months ago
|
||
Comment on attachment 9413267 [details]
Bug 1908115 - disable network.auth.use_redirect_for_retries for release. r=#necko
Approved for 128.0.2.
Updated•4 months ago
|
Comment 24•4 months ago
|
||
uplift |
Comment 25•4 months ago
|
||
Added to the 128.0.2 relnotes:
Fixed an issue causing NTLM authentication failure.
Description
•