Captive portal login tab does not get closed automatically
Categories
(Firefox :: General, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox124 | --- | fixed |
People
(Reporter: salemserein1, Assigned: valentin)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Steps to reproduce:
Connecting to my Wifi requires a password. And every time I connect, the verification page (see the link : https://support.mozilla.org/fr/kb/portail-captif) opens automatically. This becomes annoying. I would like to be able to connect to my wifi without this page opening systematically.
Actual results:
the verification page (see the link : https://support.mozilla.org/fr/kb/portail-captif) opens automatically. This becomes annoying.
Expected results:
I would like to be able to connect to my wifi without this page opening systematically.
Comment 1•2 years ago
|
||
Hello,
thank you for bringing up this issue.
If you haven't already, you can try setting network.captive-portal-service.enabled as false:
- In the address bar, paste about:config and press Enter.
- Press Enter again or click the button accepting the risk.
- Use the page search field to find network.captive-portal-service.enabled
- Prese the Toggle button to set it "false".
Source: https://support.mozilla.org/bm/questions/1313639
Please let me know if this helps!
Comment 2•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Password Manager' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•1 year ago
|
||
Redirect a needinfo that is pending on an inactive user to the triage owner.
:serg, since the bug doesn't have a severity set, could you please set the severity or close the bug?
For more information, please visit BugBot documentation.
Updated•9 months ago
|
I am not familiar with captive portal service, but it seems like it could be a useful feature to prevent the showing of the captive portal page for regularly used captive portal networks.
Valentin, just want to check that:
- the reported behavior is expected and not a "bug"
- we don't already have some way to do this
Thanks
Assignee | ||
Comment 5•9 months ago
|
||
So, what should normally happen is that the we open the login page, the user logs into the captive portal, then we close the page after a successful login.
The code that's supposed to do that is:
let canonicalURI = Services.io.newURI(this.canonicalURL);
if (
tab &&
tab.linkedBrowser.currentURI.equalsExceptRef(canonicalURI) &&
(this._cps.state == this._cps.UNLOCKED_PORTAL ||
this._cps.state == this._cps.UNKNOWN)
) {
gBrowser.removeTab(tab);
}
However, in bug 1433500 we made the canonical URI be a meta refresh to a SUMO page.
So after a successful login, we now race between the meta refresh to https://support.mozilla.org and closing the tab - so we might not end up closing the tab, so it stays on the SUMO page, telling users to file a bug.
Assignee | ||
Comment 6•9 months ago
|
||
Comment 8•9 months ago
|
||
bugherder |
Description
•