Closed Bug 1198981 Opened 9 years ago Closed 8 years ago

SuperSearch UI doesn't validate date parameters

Categories

(Socorro :: Webapp, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Unassigned)

References

()

Details

I tried to reproduce this using the branch mentioned in the PR in https://bugzilla.mozilla.org/show_bug.cgi?id=1264960 and now you get a pleasant 400 Bad Request error that explains my input mistake. 

Once 1264960 let's double-check that all date inputs to SuperSearch, that are not valid, trigger a pleasant error instead of an internal server error.
Depends on: 1264960
We fixed this (in some other bug) when we wrapped the calling of the implementation class's get/post with a try:except with BadArgumentError. 

The same URL as mentioned in the description now throws a 400 Bad Request.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.