Closed Bug 1665582 Opened 4 years ago Closed 4 years ago

Snap format: Firefox adds "canonical" to DuckDuckGo search on all distros

Categories

(Firefox :: Distributions, defect)

80 Branch
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mozbug444, Assigned: mkaply)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

  1. Install snap version of Firefox
  2. Set search engine to DuckDuckGo
  3. Type in address bar to do a search
  4. Term "canonical" is added to search URL

Actual results:

I assume this happens on distros not supplied by Canonical (e.g. Debian, Arch, Fedora, etc). I find this surprising. Perhaps it is intentional policy, or perhaps it is an accident of the snap package first being supported on Canonical distros ?

Expected results:

Maybe it is not a bug, but is it intended behavior ? Will a Canonical-hating user of, say, Debian be surprised/upset to see this ?

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Address Bar

Mark, do you know anything about this? It sounds like an issue with Snap's build to me and should probably be taken up with them.

Component: Address Bar → Search
Flags: needinfo?(standard8)

Note that the Firefox shipped via APT in Ubuntu also reproduces the issue, refer the following page for more info:

search - How to remove t=canonical from Firefox browser searches made on DuckDuckGo? - Ask Ubuntu

(In reply to 林博仁(Buo-ren, Lin) from comment #4)

Note that the Firefox shipped via APT in Ubuntu also reproduces the issue, refer the following page for more info:

That is an intentional addition, it is not an issue. Both Mozilla and Ubuntu have agreements to ship specific search engines as default or included with Firefox. The additional tag is part of the attribution so that traffic generated can be attributed to the appropriate place. This is common practice amongst browsers.

Note it is only added to searches generated from within the browser UI. If you visit DDG directly, then we wouldn't add it.

(In reply to Drew Willcoxon :adw from comment #2)

Mark, do you know anything about this? It sounds like an issue with Snap's build to me and should probably be taken up with them.

AIUI we generate the snap builds. I guess we're generating them with the Canonical distribution ID. I don't know the history behind that, so passing across to Mike.

Assignee: nobody → mozilla
Component: Search → Distributions
Flags: needinfo?(standard8) → needinfo?(mozilla)

This behavior is correct. Any builds that are official canonical builds have this change. You can verify they are canonical builds by going to the about dialog and you will see canonical there.

These are effectively partner builds where we are building a custom Firefox for canonical or that canonical is building for themselves.

A Debian person would not have this because they aren't using the canonical builds.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(mozilla)
Resolution: --- → WONTFIX

(In reply to Mike Kaply [:mkaply] from comment #6)

Any builds that are official canonical builds have this change.

You realize we're talking about a snap build, right ? It could be installed in any distro: Arch, Debian, Fedora, anything that supports snaps.

You realize we're talking about a snap build, right ? It could be installed in any distro: Arch, Debian, Fedora, anything that supports snaps.

Yes. But the Snap is primarily a Canonical build. We're currently not producing a generic Snap.

I checked the Ubuntu APT installation and found that the field seems to be defined in /usr/lib/firefox/distribution/distribution.ini.

I thought it's wierd to attribute Canonical, Ltd. even when the snap's publisher is "Mozilla", just my 2 cents.

You need to log in before you can comment on or make changes to this bug.