Skip to content

Commit

Permalink
Add fxa redirect (#13686)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmac authored Sep 19, 2023
1 parent ef57a6d commit 25d8d94
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bedrock/privacy/redirects.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@
redirect(r"^privacy/betterweb/?$", "privacy.archive.firefox-betterweb-2023-06"),
redirect(r"^privacy/firefox-fire-tv/?$", "privacy.archive.firefox-fire-tv-2023-06"),
redirect(r"^privacy/firefox-reality/?$", "privacy.archive.firefox-reality-notice-2023-06"),
# temporary
# remove test in map_globalconf.py as well
redirect(r"^privacy/mozilla-accounts/?$", "privacy.notices.firefox", permanent=False, anchor="firefox-accounts"),
)
2 changes: 2 additions & 0 deletions tests/redirects/map_globalconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,5 +1236,7 @@
# Issue 13672
url_test("/VendorDPA/", "https://assets.mozilla.net/pdf/VendorDPA.pdf"),
url_test("/vendordpa/", "https://assets.mozilla.net/pdf/VendorDPA.pdf"),
# temporary
url_test("/privacy/mozilla-accounts/", "/privacy/firefox/#firefox-accounts", status_code=requests.codes.found),
)
)

0 comments on commit 25d8d94

Please sign in to comment.