Closed Bug 1271267 Opened 8 years ago Closed 8 years ago

Re-wrap APIWhitelistError as 404

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: peterbe, Assigned: peterbe)

Details

Attachments

(1 file)

If you guess the API URL by typing in a class that is not in the documentation but that is in the source code you get a APIWhitelistError. 

E.g. https://sentry.prod.mozaws.net/operations/socorro-prod/issues/330226/

We should re-write these as 404 errors.
The Sentry link and is misleading. See https://bugzilla.mozilla.org/show_bug.cgi?id=1271281 
The attached PR is still valid.
The bug is invalid as per the concluded discussion in the PR.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: