Closed
Bug 238802
Opened 22 years ago
Closed 21 years ago
Input filter for integer sort key gives bad error output
Categories
(Bugzilla :: Administration, task)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: timeless, Assigned: LpSolit)
References
()
Details
Attachments
(1 file)
|
1.22 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
Pick sort key "327.7", select save changes.
actual results:
<font size="+2">
The sort key must be an integer between 0 and 32767 inclusive.
It cannot be <em></em>.
</font>
expected results: um ...
| Assignee | ||
Updated•21 years ago
|
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.20
| Assignee | ||
Comment 1•21 years ago
|
||
We cannot use $::FORM{} if detaint_natural "fails".
Comment 2•21 years ago
|
||
Comment on attachment 175863 [details] [diff] [review]
trivial patch, v1
Yes, obviously correct on inspection.
Attachment #175863 -
Flags: review?(mkanat) → review+
Updated•21 years ago
|
Flags: approval?
Comment 3•21 years ago
|
||
/me notes that we have to do an assignment like this anyway if you switch to
$cgi->param since you can't detaint the results of a function if it's not in a
variable already.
Flags: approval? → approval+
Comment 4•21 years ago
|
||
Checking in editflagtypes.cgi;
/cvsroot/mozilla/webtools/bugzilla/editflagtypes.cgi,v <-- editflagtypes.cgi
new revision: 1.15; previous revision: 1.14
done
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•