Skip to content

Commit

Permalink
Redirect to feature
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrasna authored and stephaniehobson committed Aug 27, 2024
1 parent bd2b6fd commit d19f58f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bedrock/mozorg/redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,4 +569,6 @@ def decider(request, **kwargs):
redirect(r"^webvision/?$", "mozorg.about.webvision.summary", locale_prefix=True, prepend_locale=False),
# issue 14944
redirect(r"^nothing-?personal/?$", "firefox.nothing-personal.index"),
# Issue 15008
redirect(r"^try-picture-in-picture/?$", "firefox.features.picture-in-picture"),
)
2 changes: 2 additions & 0 deletions tests/redirects/map_globalconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1304,5 +1304,7 @@
# issue 14944
url_test("/{nothing-personal,nothingpersonal}/", "/firefox/nothing-personal/"),
url_test("/firefox/nothingpersonal/", "/firefox/nothing-personal/"),
# issue 15008
url_test("/try-picture-in-picture/", "/firefox/features/picture-in-picture/"),
)
)

0 comments on commit d19f58f

Please sign in to comment.