Firefox VPN “Upgrade” button redirects to production while in stage
Categories
(Firefox :: IP Protection, defect)
Tracking
()
People
(Reporter: vvalentina, Assigned: baku)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fx-vpn])
Attachments
(2 external files)
[Affected versions]:
- Firefox Nightly 146.0a1 (10/29/25)
[Affected Platforms]:
- Windows 11 x64;
[Prerequisites]:
- Be enrolled into the IP Concealment (Alpha) experiment.
- Have a Mozilla stage account without subscription;
- Have the environment set to stage (user.js/prefs)
[Steps to reproduce]:
- Finalize log into Firefox VPN with the Mozilla account from prerequisites;
- Open Firefox VPN;
- Click the “Upgrade” button;
[Expected result]:
- The user is redirected to stage Mozilla VPN homepage - www-dev.allizom.org/en-US/products/vpn/
[Actual result]:
- The user is redirected to production Mozilla VPN homepage - https://www.mozilla.org/en-US/products/vpn/
| Assignee | ||
Comment 1•1 year ago
|
||
The product URL is not dynamic. It's written here: https://searchfox.org/firefox-main/rev/6abddcb0a5076c3b888686ede6f4cf7d082460d3/browser/components/ipprotection/content/ipprotection-constants.mjs#9
But I don't see why we should make it dynamic, mainly for staging testing. I would close this bug as WONTFIX.
| Assignee | ||
Comment 2•1 year ago
|
||
Updated•1 year ago
|
Comment 4•1 year ago
|
||
| bugherder | ||
Comment 5•1 year ago
|
||
The patch landed in nightly and beta is affected.
:baku, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox146towontfix.
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 6•1 year ago
|
||
We verified this while using Firefox Nightly 147.0a1 (2025-11-17) on Windows 10.
The "Upgrade" button from Firefox VPN main panel still loads the production corresponding URL.
Comment 7•1 year ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: QA will be unable to test the feature in beta and that is a serious blocker for us.
- Code covered by automated testing: no
- Fix verified in Nightly: yes
- Needs manual QE test: no
- Steps to reproduce for manual QE testing:
- Risk associated with taking this patch: low
- Explanation of risk level: This patch checks if there is a QA-only pref set to switch a few links to our staging env. Without that pref (normal scenario) nothing will change.
- String changes made/needed: n/a
- Is Android affected?: no
| Assignee | ||
Comment 8•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D272354
| Assignee | ||
Updated•1 year ago
|
Comment 9•1 year ago
|
||
Hi :baku, I need some clarification.
My read from https://bugzilla.mozilla.org/show_bug.cgi?id=1997287#c6 is that the issue was not fixed. I'm not sure if this requires a fixed patch, or if this can only be tested in beta?
Thank you!
| Assignee | ||
Comment 10•1 year ago
|
||
The patch introduces a new pref browser.ipProtection.productVpn.endpoint to change the mozilla website endpoint. By default (if this pref is not set), https://www.mozilla.org is used. You can use a different staging endpoint to test the upgrade button.
| Reporter | ||
Comment 11•1 year ago
•
|
||
Thanks, Baku for this!
Verified this on Firefox Nightly 147.0a1 (20-11-25).
Creating this pref as string and adding the value of "https://www-dev.allizom.org/en-US/products/vpn/pricing" to it will make the stage redirection when clicking the "Upgrade" button from the Firefox VPN main panel.
Will this be uplifted in Beta?
| Reporter | ||
Updated•1 year ago
|
| Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Comment 12•1 year ago
|
||
| uplift | ||
| Reporter | ||
Comment 13•1 year ago
|
||
Verified this on Firefox Beta 146.0b7 while on Windows 10.
Creating the mentioned pref as string and adding the value of "https://www-dev.allizom.org/en-US/" to it will make the stage redirection when clicking the "Upgrade" button from the Firefox VPN main panel.
| Reporter | ||
Updated•1 year ago
|
Updated•5 months ago
|
Updated•5 months ago
|
Description
•