Closed Bug 85833 Opened 24 years ago Closed 24 years ago

show_bug.cgi doesn't accept space after bug number

Categories

(Bugzilla :: Bugzilla-General, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.14

People

(Reporter: jruderman, Assigned: jacob)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

Bugzilla's show_bug.cgi rejects URLs that have a space after the bug number, saying that the bug number is invalid. I think this is a recent regression. This is particularly annoying because I often double-click a bug number (which selects the space after the number), paste it into a QuickSearch form, and press enter. (QuickSearch not stripping the space causes problems even without show_bug.cgi rejecting the URL, so I filed bug 85832 on QuickSearch.)
Bumping this to 2.14 due to the fact it's a regression that was caused by a recent code change. Allowing the bug id to have whitespace in it should have no ill effects as SQL statements allow for whitespace.
Assignee: tara → jake
Keywords: patch, regression, review
Target Milestone: --- → Bugzilla 2.14
I bet the regex in ValidateBugID() is checking for /^\d+$/
r= justdave checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.13 → unspecified
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: