Fix firefox features redirects to include locale

This commit is contained in:
Paul McLanahan 2017-05-15 11:05:38 -04:00
Родитель ce48a15848
Коммит 791c5fdcf9
2 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -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/'),
))