Closed Bug 1433500 Opened 3 years ago Closed 3 months ago

detectportal.firefox.com should return something informative for "real" user agents.

Categories

(Core :: Networking, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
89 Branch
Tracking Status
firefox89 --- fixed

People

(Reporter: mhoye, Assigned: valentin)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

Right now, browsing to detectportal.firefox.com returns only "success". 

For some users - particularly non-english-native-speaking users - the purpose of  detectportal.firefox.com may be unclear, and I've heard a report that people are concerned about the nature of that ping from a privacy and security perspective.

I propose that we append a (shortened?) link to an appropriate SUMO page about what detectportal.firefox.com is and does to success.txt.
Tentatively giving to Valentin as a maintainer of that code.
Assignee: nobody → valentin.gosu
Priority: -- → P3
Whiteboard: [necko-triaged]
Duplicate of this bug: 1583054

Steps:

  • Add a new file canonical.html to the storage bucket containing <meta http-equiv="refresh" content="0;url=http://mzl.la/cp"/>
  • Change the captivedetect.canonicalContent to <meta http-equiv="refresh" content="0;url=http://mzl.la/cp"/>
  • Change captivedetect.canonicalURL to http://detectportal.firefox.com/canonical.html
  • Make http://mzl.la/cp redirect to a Mozilla support page explaining captive portals.

Follow-up steps:

Depends on: 1682513

This change constitutes a way we can redirect users to an actual page that
explains what captive portals are and why we are making these requests.
Normally users should not see this page, as we only compare the contents
of a small html file. The meta redirect only happens when loaded in a
page.

The http://mzl.la/cp redirect is controlled via the bit.ly URL shortner.

Depends on: 1693031
Attachment #9193231 - Attachment description: Bug 1433500 - detectportal.firefox.com should return something informative for users r=nhnt11,Gijs → Bug 1433500 - detectportal.firefox.com should return something informative for users r=nhnt11
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/153bb20062aa
detectportal.firefox.com should return something informative for users r=nhnt11
Flags: needinfo?(valentin.gosu)
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/2fcbc72daec5
detectportal.firefox.com should return something informative for users r=nhnt11,extension-reviewers,zombie
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch
See Also: → 1714546
You need to log in before you can comment on or make changes to this bug.