Closed Bug 2016676 Opened 3 months ago Closed 3 months ago

“Use VPN for this site” cannot be enabled if the website address was added without “www” in about:preferences - “Manage website settings”

Categories

(Firefox :: IP Protection, defect)

Firefox 149
Desktop
Windows 11
defect

Tracking

()

VERIFIED FIXED
149 Branch
Tracking Status
firefox149 --- verified

People

(Reporter: vvalentina, Assigned: kpatenio)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fx-vpn] [bzkanban-sprint][qe-verify])

Attachments

(2 files)

[Affected versions]:

  • Firefox Nightly 149.0a1 (2026-02-12);

[Affected Platforms]:

  • Windows 11 x64;

[Prerequisites]:

  • Be enrolled into the VPN experiment;
  • Be logged in;
  • Having the VPN in ON state.

[Steps to reproduce]:

  1. Click the Settings option from the VPN main panel;
  2. Click “Manage website settings”;
  3. Add youtube.com to the exclusion list and “Save changes”
  4. Load youtube.com in a new tab and observe the VPN status;
  5. Enable “Use VPN for this site” and observe the VPN status;
  6. Refresh the page and observe the VPN status;

[Expected result]:
Step 4: “Use VPN for this site” is disabled; the YT website is excluded from protection; VPN is on and has a hollow circle.
Step 5: “Use VPN for this site” is enabled; YT is protected; VPN is ON and has a solid green dot;
Step 6: YT is protected; VPN is ON and has a solid green dot;

[Actual result]:
Step 4: “Use VPN for this site” is disabled; the YT website is excluded from protection; VPN is on and has a hollow circle.
Step 5: “Use VPN for this site” is enabled; YT is protected; VPN is ON and has a hollow circle;
Step 6: “Use VPN for this site” is disabled; YT is not protected; VPN is ON and has a solid green dot;

[Notes]:
Not reproducing if the URL of the website is copy-pasted in the Manage website settings modal, hance has the “www” included.

Whiteboard: [fx-vpn]
See Also: → 2012113
Assignee: nobody → kpatenio
Whiteboard: [fx-vpn] → [fx-vpn] [bzkanban-sprint]
Pushed by kpatenio@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e182c5e7a560 https://hg.mozilla.org/integration/autoland/rev/a35a8224c831 — revert exactHost=false to stop subdomains from being implicitly excluded. r=ip-protection-reviewers,fchasen

Hey QA team,

Just a heads up that the patch for this bug essentially undoes the original fix for Bug 2012113. We initially relaxed the restrictions for checking site exclusions to work like this:

  • Inputting apple.com in the dialog --> excludes www.apple.com and www.developer.apple.com

But now, we reverted the change so that we're strict about site exlcusions for domains without www:

  • Inputting apple.com in the dialog --> does _not _ exclude www.apple.com or www.developer.apple.com
  • This means we need to be specific with our URLs in the dialog to use www

This is to ensure we avoid hitting this visual bug with the exclusion state UI on the panel. Once the patch lands, could you please verify the issue on Windows 11?

Whiteboard: [fx-vpn] [bzkanban-sprint] → [fx-vpn] [bzkanban-sprint][qe-verify]
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch

Verified this on Firefox Nightly 149.0a1 (22-02-2026) using Windows 11. While adding wikipedia.org (without www) in about:prefrences the www.wikipedia.org is not excluded and while adding www.mullvad.net (with www) in about:preferences the mullvad.net is not excluded. Is this the intended change/revert?
Also this bug is not reproducing anymore.

Flags: needinfo?(kpatenio)

(In reply to Valentina Virlics [:vvalentina], VPN QA from comment #5)

Verified this on Firefox Nightly 149.0a1 (22-02-2026) using Windows 11. While adding wikipedia.org (without www) in about:prefrences the www.wikipedia.org is not excluded and while adding www.mullvad.net (with www) in about:preferences the mullvad.net is not excluded. Is this the intended change/revert?
Also this bug is not reproducing anymore.

Hi Valentina,

That's correct, this is the intended change. Unfortunately, due to the way we identify exclusions via the Permissions system, there were some challenges dealing with sites without www. A URL without www may cause more than one site to be labelled as exclusions (eg. see my apple.com vs developer.apple.com example in this comment), which could lead to unintended behaviour.

To avoid this bug from happening in the first place, I reverted the changes from Bug 2012113.

Flags: needinfo?(kpatenio)
Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: