зеркало из https://github.com/mozilla/bedrock.git
Fix firefox features redirects to include locale
This commit is contained in:
Родитель
ce48a15848
Коммит
791c5fdcf9
|
@ -517,8 +517,10 @@ redirectpatterns = (
|
|||
redirect(r'^firefox/windows-10/welcome/?$', 'https://support.mozilla.org/kb/how-change-your-default-browser-windows-10'),
|
||||
|
||||
# Bug 1355184
|
||||
redirect(r'^en-US/firefox/private-browsing/?', 'firefox.features.private-browsing', locale_prefix=False),
|
||||
redirect(r'^en-US/firefox/private-browsing/?', '/en-US/firefox/features/private-browsing/',
|
||||
locale_prefix=False),
|
||||
|
||||
# Bug 1355189
|
||||
redirect(r'^en-US/firefox/desktop/fast/?', 'firefox.features.fast', locale_prefix=False),
|
||||
redirect(r'^en-US/firefox/desktop/fast/?', '/en-US/firefox/features/fast/',
|
||||
locale_prefix=False),
|
||||
)
|
||||
|
|
|
@ -1161,8 +1161,8 @@ URLS = flatten((
|
|||
url_test('/internethealth', '/internet-health/'),
|
||||
|
||||
# Bug 1355184
|
||||
url_test('/en-US/firefox/private-browsing/', '/firefox/features/private-browsing/'),
|
||||
url_test('/en-US/firefox/private-browsing/', '/en-US/firefox/features/private-browsing/'),
|
||||
|
||||
# Bug 1355189
|
||||
url_test('/en-US/firefox/desktop/fast/', '/firefox/features/fast/'),
|
||||
url_test('/en-US/firefox/desktop/fast/', '/en-US/firefox/features/fast/'),
|
||||
))
|
||||
|
|
Загрузка…
Ссылка в новой задаче