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)

2.17.6
task
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: timeless, Assigned: LpSolit)

References

()

Details

Attachments

(1 file)

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 ...
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.20
We cannot use $::FORM{} if detaint_natural "fails".
Assignee: justdave → LpSolit
Status: NEW → ASSIGNED
Attachment #175863 - Flags: review?(mkanat)
Comment on attachment 175863 [details] [diff] [review] trivial patch, v1 Yes, obviously correct on inspection.
Attachment #175863 - Flags: review?(mkanat) → review+
Flags: approval?
/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+
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
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: