Closed Bug 2052678 Opened 1 month ago Closed 1 month ago

custom DoH URL configuration reverts to current provider rather than last used custom provider

Categories

(Core :: Networking: DNS, defect, P2)

Firefox 152
defect

Tracking

()

RESOLVED DUPLICATE of bug 2048770
Tracking Status
firefox152 --- wontfix
firefox153 --- fix-optional
firefox154 --- fixed

People

(Reporter: chrisholly, Assigned: bvandersloot)

Details

(Keywords: regression, Whiteboard: [necko-triaged])

Attachments

(1 obsolete file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0

Steps to reproduce:

Open up the settings and look in 'Privacy and Security', then going into DNS over HTTPS. The advanced settings provider is 'Cloudflare' and when changing it to a different provider, then exiting and returning to the same menu.

Actual results:

Despite changing the provider, it always is Cloudflare again. Checking on DNS resolution, it is using the correct provider but it doesn't show up in the visual menu as correct.

Expected results:

It should remain the provider that I originally changed to, not Cloudflare.

The Bugbug bot thinks this bug should belong to the 'Core::Networking: DNS' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Networking: DNS
Product: Firefox → Core

I have same problem. Also see this reddit thread:
https://www.reddit.com/r/firefox/comments/1unb3ne/firefox_quietly_replaces_custom_dns_with/

Problem:
Custom DoH provider is reset to Cloudflare after browser restart (or after toggling Default/Custom)

  1. Go to Settings > Privacy & Security > DNS over HTTPS.
  2. Set to "Custom" and enter a provider (e.g. Google: "https://dns.google/dns-query").
  3. Restart Firefox.

Actual results:
After restart, Firefox starts using Cloudflare instead of the custom Google provider (even if custom field set to Google DNS). In the UI it may still show "Custom", but the actual resolver is Cloudflare. The problem returns every time after restart.

Switching to "Default" and then back to "Custom" (re-entering my custom DNS) temporarily fixes it until the next restart.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: -- → S3
Priority: -- → P2
See Also: → 2043714

This looks like the same settings-redesign regression as bug 2043714 (DoH custom select UI forgets that it is in custom mode on reload), where the provider select falls back to the first entry (Cloudflare) on reload because get() runs before getControlConfig(). That fix landed for 153, and the reports here are on 152, so 152 would not have it yet, which matches the behavior described.

bvandersloot, could you confirm whether bug 2043714 fully covers this, including the actual-resolver revert reported in comment 2 (not just the menu display)? If so we can duplicate this to 2043714.

Flags: needinfo?(bvandersloot)
Whiteboard: [necko-triaged]
Flags: needinfo?(bvandersloot) → needinfo?(manuel)

I have trouble reproducing due not having any DoH providers pre-configured in preferences page on mozregression builds (openend bug 2054044).

Flags: needinfo?(manuel)
Assignee: nobody → bvandersloot
Status: NEW → ASSIGNED

Whoops- didn't see the comment Sunil:

This is actually a different regression than bug 2043714. Bug 2043714 was centered on the state being wrong on reload. This one is about the text in the custom provider box reflecting the current resolver URL, not the custom URL as it was in the old UI. This was originally a design choice in the settings redesign, but with this bug and the use case explained a bit more to me, I think that we should fix this bug.

Let me rename it to be a little bit more clear.

Summary: custom DoH configuration defaults to Cloudflare visually → custom DoH URL configuration reverts to current provider rather than last used custom provider
Attachment #9606660 - Attachment description: Bug 2052678 - Clean up custom DoH provider UI - r=manuel! → Bug 2052678 - Use the last custom DoH provider UI in the DoH custom textbox when switching back to Custom - r=manuel!

Comment on attachment 9606660 [details]
Bug 2052678 - Use the last custom DoH provider UI in the DoH custom textbox when switching back to Custom - r=manuel!

Revision D311542 was moved to bug 2048770. Setting attachment 9606660 [details] to obsolete.

Attachment #9606660 - Attachment is obsolete: true

Thanks for the report. Fixed in slightly oder bug bug 2048770 (where the attachment was moved to), which this is a duplicate of. This bug discussion is a bit confusing, because from comment 2 to comment 4 a different defect is discussed. That other defect is fixed in bug 2043714 (riding the train with Fx153).

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2048770
Resolution: --- → DUPLICATE
See Also: 2043714
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: