Conversation
eviljeff
marked this pull request as ready for review
September 18, 2026 15:22
eviljeff
requested review from
a team and
chrstinalin
and removed request for
a team
September 18, 2026 15:23
chrstinalin
approved these changes
Sep 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
addons-server part of mozilla/addons#16398
Description
Drop UA detection and support for
?app=androidin urls for returning /android/ in a frontend url.Context
In mozilla/addons-frontend#14469 we stop directing users to /android/ urls (because /firefox/ urls are now functionally the same on Android), but the api still returns
/android/urls when theappparam isandroid, or the UA is detected as Android. This patch removes that functionality too so all urls are returned as/firefox/Testing
/api/v5/addons/addon/<some_slug>/?app=androidand see in the detail response thaturlnow ignores the app param and always returns/firefox/.appparam, but with an android user agent defined.appshould otherwise still be used for compatibility filtering for/search, etc.Checklist
#ISSUENUMat the top of your PR to an existing open issue in the mozilla/addons repository.