зеркало из https://github.com/mozilla/bedrock.git
This commit is contained in:
Родитель
bf50acf6f7
Коммит
6ec4adb306
|
@ -598,4 +598,5 @@ redirectpatterns = (
|
|||
redirect(r"^firefox/privacy/products/?$", "products.landing"),
|
||||
redirect(r"^firefox/privacy/safe-passwords/?$", "firefox.features.password-manager"),
|
||||
redirect(r"^firefox/privacy/book/?$", "https://support.mozilla.org/kb/how-stay-safe-web"),
|
||||
redirect(r"^firefox/nothingpersonal/?$", "firefox.nothing-personal.index"),
|
||||
)
|
||||
|
|
|
@ -567,4 +567,6 @@ redirectpatterns = (
|
|||
# redirects that don't need a lang code prefix
|
||||
redirect(r"^diversity/?$", "mozorg.diversity.2022.index", locale_prefix=False),
|
||||
redirect(r"^webvision/?$", "mozorg.about.webvision.summary", locale_prefix=True, prepend_locale=False),
|
||||
# issue 14944
|
||||
redirect(r"^nothing-?personal/?$", "firefox.nothing-personal.index"),
|
||||
)
|
||||
|
|
|
@ -1301,5 +1301,8 @@ URLS = flatten(
|
|||
url_test("/firefox/privacy/products/", "/products/"),
|
||||
url_test("/firefox/privacy/safe-passwords/", "/firefox/features/password-manager/"),
|
||||
url_test("/firefox/privacy/book/", "https://support.mozilla.org/kb/how-stay-safe-web"),
|
||||
# issue 14944
|
||||
url_test("/{nothing-personal,nothingpersonal}/", "/firefox/nothing-personal/"),
|
||||
url_test("/firefox/nothingpersonal/", "/firefox/nothing-personal/"),
|
||||
)
|
||||
)
|
||||
|
|
Загрузка…
Ссылка в новой задаче