mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
125 stars 41 forks source link

Footer pathname url results into a 404 when a locale different than en-US is used #1898

Open ioanarusiczki opened 2 years ago

ioanarusiczki commented 2 years ago

Followup for https://github.com/mozilla/addons/issues/8764

It's less common to use a full URL when customizing the "footer pathname" but the edge case is:

When a URL such as https://addons-dev.allizom.org/it/firefox/search/?promoted=recommended&sort=users&type=extension is saved in the "Footer pathname:" field it results into a 404 on frontend -> https://addons-dev.allizom.org/en-US/firefox/it/firefox/search/?promoted=recommended&sort=users&type=extension

This has been fixed for the Cta url - in the secondary hero module, it has the same root cause.

┆Issue is synchronized with this Jira Task

KevinMind commented 4 months ago

Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDSRV-116