Closed Bug 1789310 Opened 2 years ago Closed 2 years ago

[snap] Add an "Ubuntu" token to the UA string when running on an Ubuntu host

Categories

(Firefox Build System :: Third Party Packaging, enhancement)

Firefox 106
Desktop
Linux
enhancement

Tracking

(firefox106 wontfix, firefox107 fixed)

RESOLVED FIXED
107 Branch
Tracking Status
firefox106 --- wontfix
firefox107 --- fixed

People

(Reporter: olivier, Assigned: olivier)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The deb packages for firefox on Ubuntu 18.04 and 20.04 add an "Ubuntu" token to the user-agent string, so that it looks like this:

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0

Adding the same token to the user-agent string for firefox packaged as a snap when running on an Ubuntu host is being considered.

/etc/lsb-release from the host is exposed in the snap's namespace, this will allow identifying the host system.

Assignee: nobody → olivier
Blocks: snap

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

Component: General → Widget: Gtk
Product: Firefox → Core
Component: Widget: Gtk → Third Party Packaging
Product: Core → Firefox Build System
Attachment #9293192 - Attachment description: WIP: Bug 1789310 - Add an "Ubuntu" token to the UA string when running as a snap on an Ubuntu host → Bug 1789310 - Add an "Ubuntu" token to the UA string when running as a snap on an Ubuntu host r?mkaply
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/2d4419b5c1df
Add an "Ubuntu" token to the UA string when running as a snap on an Ubuntu host r=mkaply,necko-reviewers

Why do we add yet another passive fingerprinting vector?

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
Regressions: 1792253
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: