Closed
Bug 454300
Opened 15 years ago
Closed 14 years ago
Remove locale-specific subdomains from client-generated URLs
Categories
(Firefox :: General, defect)
Firefox
General
Tracking
()
RESOLVED
FIXED
Firefox 3.7a1
Tracking | Status | |
---|---|---|
status1.9.2 | --- | final-fixed |
status1.9.1 | --- | wanted |
People
(Reporter: stephend, Assigned: reed)
References
Details
Attachments
(1 file, 2 obsolete files)
10.24 KB,
patch
|
Gavin
:
review+
beltzner
:
approval1.9.2+
|
Details | Diff | Splinter Review |
Per bug 398938 (this bug would likely have to be fixed first before the functionality is removed), we should remove the locale-specific subdomains Firefox client-generated URLs.
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → reed
Assignee | ||
Comment 1•15 years ago
|
||
Remove %LOCALE% or ${AB_CD} from most URLs used by Firefox. Places where locale-based subdomains are still used and cannot be removed at present time: * browser/app/profile/firefox.js -- browser.safebrowsing.provider.0.report*URL * other-licenses/branding/firefox/locales/browserconfig.properties -- browser.startup.homepage and browser.startup.homepage_reset * other-licenses/branding/firefox/locales/old-homepage-default.properties -- browser.startup.homepage
Attachment #337549 -
Flags: review?(gavin.sharp)
Assignee | ||
Updated•15 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•15 years ago
|
Flags: wanted1.9.0.x?
Flags: wanted1.8.1.x?
Flags: wanted-firefox3.1?
Flags: blocking-firefox3.1?
Assignee | ||
Comment 2•15 years ago
|
||
unbitrotten version of v1
Attachment #337549 -
Attachment is obsolete: true
Attachment #347475 -
Flags: review?(gavin.sharp)
Attachment #337549 -
Flags: review?(gavin.sharp)
Comment 3•15 years ago
|
||
Not blocking unless webdev tells us we need to, but yes, I'd be happy to simplify this.
Flags: wanted-firefox3.1?
Flags: wanted-firefox3.1+
Flags: blocking-firefox3.1?
Flags: blocking-firefox3.1-
Updated•15 years ago
|
Flags: wanted1.9.0.x?
Flags: wanted1.9.0.x-
Flags: wanted1.8.1.x?
Flags: wanted1.8.1.x-
Comment 4•15 years ago
|
||
13:17 <gavin> are you sure all of the services at those urls are being changed? 13:17 <gavin> (have they already been?) 13:18 <gavin> did you look through each change, or just grep/replace? Can you provide a list of test urls that cover each service being changed, to show that they work without the locale code?
Assignee | ||
Comment 5•15 years ago
|
||
pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/%LOCALE%/%APP%"); * https://addons.mozilla.org/en-US/firefox pref("extensions.getAddons.recommended.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/recommended"); * https://addons.mozilla.org/en-US/firefox/recommended pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/%LOCALE%/%APP%/search?q=%TERMS%"); * https://addons.mozilla.org/en-US/firefox/search?q=foobar pref("extensions.blocklist.detailsURL", "http://www.mozilla.com/%LOCALE%/blocklist/"); * http://www.mozilla.com/en-US/blocklist/ pref("browser.dictionaries.download.url", "https://addons.mozilla.org/%LOCALE%/%APP%/%VERSION%/dictionaries/"); * https://addons.mozilla.org/en-US/firefox/3.0.5/dictionaries/ pref("extensions.getMoreExtensionsURL", "https://addons.mozilla.org/%LOCALE%/%APP%/%VERSION%/extensions/"); * https://addons.mozilla.org/en-US/firefox/3.0.5/extensions/ pref("extensions.getMoreThemesURL", "https://addons.mozilla.org/%LOCALE%/%APP%/%VERSION%/themes/"); * https://addons.mozilla.org/en-US/firefox/3.0.5/themes/ pref("extensions.getMorePluginsURL", "https://addons.mozilla.org/%LOCALE%/%APP%/%VERSION%/plugins/"); * https://addons.mozilla.org/en-US/firefox/3.0.5/plugins/ pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/%LOCALE%/%APP%/%VERSION%/search-engines/"); * https://addons.mozilla.org/en-US/firefox/3.0.5/search-engines/ pref("browser.safebrowsing.warning.infoURL", "http://www.mozilla.com/%LOCALE%/%APP%/phishing-protection/"); * http://www.mozilla.com/en-US/firefox/phishing-protection/ !define URLInfoAbout "http://www.mozilla.com/${AB_CD}/" * http://www.mozilla.com/en-US/ !define URLUpdateInfo "http://www.mozilla.com/${AB_CD}/firefox/" * http://www.mozilla.com/en-US/firefox/ pref("startup.homepage_override_url","http://www.mozilla.com/%LOCALE%/%APP%/%VERSION%/whatsnew/"); * http://www.mozilla.com/en-US/firefox/3.0.5/whatsnew/ pref("startup.homepage_welcome_url","http://www.mozilla.com/%LOCALE%/%APP%/%VERSION%/firstrun/"); * http://www.mozilla.com/en-US/firefox/3.0.5/firstrun/ pref("app.update.url.manual", "http://www.mozilla.com/%LOCALE%/%APP%/"); * http://www.mozilla.com/en-US/firefox/ pref("app.update.url.details", "http://www.mozilla.com/%LOCALE%/%APP%/releases/"); * http://www.mozilla.com/en-US/firefox/releases/ pref("app.releaseNotesURL", "http://www.mozilla.com/%LOCALE%/%APP%/%VERSION%/releasenotes/"); * http://www.mozilla.com/en-US/firefox/3.0.5/releasenotes/
Comment 6•14 years ago
|
||
Note to myself: along with the patch above, we may have to embed ja locale specific URLs into ja/ja-JP-mac builds. https://ja.add-ons.mozilla.com/ja/ redirects to http://addons.mozilla.jp/ while https://addons.mozilla.org/ja/ does (should) not. See Bug 427323 for the background info.
Comment 7•14 years ago
|
||
(In reply to comment #6) > Note to myself: along with the patch above, we may have to embed ja locale > specific URLs into ja/ja-JP-mac builds. > > https://ja.add-ons.mozilla.com/ja/ redirects to http://addons.mozilla.jp/ while > https://addons.mozilla.org/ja/ does (should) not. We are discussing this in Bug 505077.
Assignee | ||
Comment 8•14 years ago
|
||
Attachment #347475 -
Attachment is obsolete: true
Attachment #413168 -
Flags: review?(gavin.sharp)
Attachment #347475 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 9•14 years ago
|
||
pref("extensions.getAddons.browseAddons", "https://addons.mozilla.org/en-US/firefox"); pref("extensions.getAddons.recommended.browseURL", "https://addons.mozilla.org/en-US/firefox/recommended"); pref("extensions.getAddons.search.browseURL", "https://addons.mozilla.org/en-US/firefox/search?q=%TERMS%"); pref("browser.dictionaries.download.url", "https://addons.mozilla.org/en-US/firefox/dictionaries/"); pref("browser.search.searchEnginesURL", "https://addons.mozilla.org/en-US/firefox/search-engines/"); pref("browser.safebrowsing.warning.infoURL", "http://www.mozilla.com/en-US/firefox/phishing-protection/"); pref("browser.geolocation.warning.infoURL", "http://www.mozilla.com/en-US/firefox/geolocation/"); * echo formatURL("https://addons.mozilla.org/en-US/firefox/3.5.4/"); !define URLInfoAbout "http://www.mozilla.com/en-US/" !define URLUpdateInfo "http://www.mozilla.com/en-US/firefox/" pref("startup.homepage_override_url","http://www.mozilla.com/en-US/firefox/3.5.4/whatsnew/"); pref("startup.homepage_welcome_url","http://www.mozilla.com/en-US/firefox/3.5.4/firstrun/"); pref("app.update.url.manual", "http://www.mozilla.com/en-US/firefox/"); pref("app.update.url.details", "http://www.mozilla.com/en-US/firefox/releases/"); pref("app.releaseNotesURL", "http://www.mozilla.com/en-US/firefox/3.5.4/releasenotes/");
Updated•14 years ago
|
Attachment #413168 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 10•14 years ago
|
||
http://hg.mozilla.org/mozilla-central/rev/5f761972d745
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Assignee | ||
Updated•14 years ago
|
Whiteboard: [baking on trunk since 2009-12-03]
Assignee | ||
Comment 11•14 years ago
|
||
Comment on attachment 413168 [details] [diff] [review] patch - v2 Requesting approval1.9.2 to this simple patch to remove locale-based subdomains from the various URLs. This allows us to start deprecating these URLs in the future and acts as a tiny perf improvement by not requiring users to go through a redirect.
Attachment #413168 -
Flags: approval1.9.2?
Comment 12•14 years ago
|
||
Comment on attachment 413168 [details] [diff] [review] patch - v2 a192=beltzner, post-hoc, reed has been scolded and he's begged for the appropriate forgiveness. We'll let him live, for now. ;)
Attachment #413168 -
Flags: approval1.9.2? → approval1.9.2+
Reporter | ||
Comment 13•14 years ago
|
||
Raymond: please ensure your script covers this too; thanks!
Flags: in-testsuite?
Assignee | ||
Comment 14•14 years ago
|
||
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/c66829547c12
status1.9.2:
--- → final-fixed
Assignee | ||
Updated•14 years ago
|
Whiteboard: [baking on trunk since 2009-12-03]
Assignee | ||
Updated•14 years ago
|
Reporter | ||
Comment 15•14 years ago
|
||
Raymond: do you have this updated in your script, yet? If so, please send me a new revision so I can land it, and then please mark this as in-testsuite+. Thanks!
Updated•14 years ago
|
blocking1.9.1: --- → ?
status1.9.1:
--- → ?
Updated•14 years ago
|
blocking1.9.1: ? → ---
You need to log in
before you can comment on or make changes to this bug.
Description
•