Open Bug 1504764 Opened 1 year ago Updated 1 year ago
.ru multiple times creates a top site shortcut for yandex .com
If you create a new profile and then visit yandex.ru and do some searches, when you restart you have a yandex alias. When you click on this alias, it goes to yandex.com, not yandex.ru. In addition, delete from history doesn't remove the alias because it's trying to remove yandex.com URLs, not yandex.ru URLs.
So the problem is here: https://searchfox.org/mozilla-central/source/toolkit/modules/NewTabUtils.jsm#1185 This code creates a shortURL for yandex.ru (yandex) and then passes it to getSearchProvider which returns yandex.com based on the list here: https://searchfox.org/mozilla-central/source/browser/components/newtab/lib/SearchShortcuts.jsm#14 We shouldn't be converting search URL domains to other search URL domains We should just be using the original domain and stripping off the rest of the URLs. There's no concept of a canonical URL - every search engine has a domain specific engine.
> every search engine has a domain specific engine. Should be: Most search engines have country specific engines.
Assignee: nobody → mozilla
Iteration: --- → 65.2 (Nov 16)
Iteration: 67.1 - Jan 28 - Feb 10 → 67.3 - Feb 25 - Mar 10
Component: Activity Streams: Newtab → New Tab Page
You need to log in before you can comment on or make changes to this bug.