Earlier in the development of MediaSearch, the tab for image search results was named bitmap instead of image. It's also the default tab, so many old links (and indexed urls) may send users to the page with this older and no-longer-valid parameter.
Currently this triggers an error which shows up in the logs, and presents the user with the page in an invalid state (no tab selected, no error message or results visible, etc).
Acceptance Criteria
[] Users should see an error message if they land on the page with an invalid type parameter
- Users who show up on the page with an invalid or missing type parameter should be silently redirected to the Image tab, and their URL should be altered to match.
Note: We discussed this and decided it's no longer necessary: For the special case of type=bitmap, let's automatically redirect the request to be type=image with all other parameters left unchanged.
Related: T277724