Closed
Bug 655146
Opened 14 years ago
Closed 14 years ago
Give smart_int() a Kevlar vest
Categories
(support.mozilla.org :: Code Quality, task, P4)
support.mozilla.org
Code Quality
Tracking
(Not tracked)
VERIFIED
FIXED
2.9
People
(Reporter: erik, Assigned: tgavankar)
Details
Somebody put something like "10e309" in a querystring param, and smart_int() spit out "OverflowError: cannot convert float infinity to integer". Let's not allow explicit exponents in input.
| Assignee | ||
Updated•14 years ago
|
Assignee: nobody → tgavankar
| Assignee | ||
Comment 1•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
| Assignee | ||
Updated•14 years ago
|
Target Milestone: 2011Q2 → 2.9
Comment 2•14 years ago
|
||
Please add verification steps or mark as [qa-], thanks
Comment 3•14 years ago
|
||
Try setting ?page=1e310 on questions. Shouldn't get a server error.
Comment 4•14 years ago
|
||
Verified no server errors from added that ending on questions pages
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•