This commit is contained in:
Craig Cook 2024-03-25 08:15:58 -07:00 коммит произвёл GitHub
Родитель c6484901e3
Коммит 4b276863fe
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
2 изменённых файлов: 6 добавлений и 4 удалений

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

@ -99,8 +99,6 @@ redirectpatterns = (
redirect(r"^about/mission\.html$", "/mission/"),
# Bug 784411 /about/mission/ -> /mission/
redirect(r"^about/mission/?$", "/mission/"),
# Bug 1171763, 1347752 - /research/ -> research.m.o
redirect(r"^research(/.*)?$", "https://research.mozilla.org/"),
# Bug 800298 /webmaker/ -> wm.o and /webmaker/videos/ ->
# wm.o/videos/
redirect(r"webmaker/?$", "https://webmaker.org"),
@ -568,4 +566,7 @@ redirectpatterns = (
redirect(r"^stories/?$", "https://blog.mozilla.org/category/products/firefox/"),
# Issue 14255
redirect(r"^rise25/?$", "/rise25/nominate/"),
# Issue 14351
redirect(r"^research/?$", "https://foundation.mozilla.org/research/"),
redirect(r"^research/cc/?$", "https://foundation.mozilla.org/research/"),
)

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

@ -879,8 +879,6 @@ URLS = flatten(
url_test("/products/firefox/{,stuff/}", "/products/"),
# Bug 784411
url_test("/about/mission/", "/mission/"),
# Bug 1171763, 1347752 - /research/ -> research.m.o
url_test("/research/{,projects/,researchers/}", "https://research.mozilla.org/"),
# Bug 1260423
url_test("/firefox/choose", "/firefox/new/"),
url_test("/firefox/{,46.0/,46.0.1/,47.0/,47.0.1/}secondrun", "/firefox/browsers/mobile/"),
@ -1288,5 +1286,8 @@ URLS = flatten(
url_test("/firefox/flashback/", "/firefox/"),
url_test("/landing/firefox/fx100/", "/firefox/"),
url_test("/{santa-locator,santalocator}/", "/"),
# Issue 14351
url_test("/research/", "https://foundation.mozilla.org/research/"),
url_test("/research/cc/", "https://foundation.mozilla.org/research/"),
)
)