All users were logged out of Bugzilla on October 13th, 2018

SuperSearch UI doesn't validate date parameters

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: peterbe, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Updated

3 years ago
Duplicate of this bug: 1199397
(Reporter)

Comment 2

3 years ago
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
(Reporter)

Comment 3

3 years ago
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
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.