Closed
Bug 940022
Opened 11 years ago
Closed 11 years ago
range_value on report list is not validated for sanity
Categories
(Socorro :: Webapp, task)
Socorro
Webapp
Tracking
(Not tracked)
VERIFIED
FIXED
69
People
(Reporter: peterbe, Assigned: peterbe)
References
()
Details
(Whiteboard: [qa+])
Attachments
(2 files)
If the range_value is something enormous it will erroneously try to make a start_date based on it and that should be capped to 30 days anyways.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → peterbe
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 years ago
|
||
Comment 2•11 years ago
|
||
Commit pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/b0303f0182680aefdfa5b19a5fe8b34e71b15214
fixes bug 940022 - range_value on report list is not validated for sanity, r=adrian
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → 69
Comment 3•11 years ago
|
||
Is this [qa-] or [qa+], and if the latter, what are the steps? Thanks!
Assignee | ||
Comment 4•11 years ago
|
||
Steps to reproduce: Go to
https://crash-stats.allizom.org/report/list?product=Firefox&query_search=signature&query_type=contains&reason_type=contains&date=2013-11-17&range_value=80000&range_unit=days&hang_type=any&process_type=any&signature=nsTHashtable%3CgfxFont%3A%3ACacheHashEntry%3E%3A%3As_ClearEntry(PLDHashTable*%2C+PLDHashEntryHdr*)
(note the `range_value=8000` in the URL)
Loading that should kick you out with a 400 error.
(note2: I constructed the URL above from the sentry report but swapped it to the stage domain. If it doesn't work, find another such URL and make the range_value massive)
Whiteboard: qa+
Updated•11 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: qa+ → [qa+]
Comment 5•11 years ago
|
||
Status: RESOLVED → VERIFIED
Comment 6•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•