Red Hat Bugzilla – Bug 206098
reports.cgi dies when chosen dataset contains "_"
Last modified: 2014-06-18 04:21:41 EDT
When performing a time-based report (via reports.cgi), if any of the chosen
datasets (status labels) contains the underscore character, reports.cgi dies
with a message like "Invalid datasets ASSIGNED_TO_PM: at
/var/www/html/bugzilla/reports.cgi line 240." Choosing all datasets that do not
contain the underscore does not result in the error.
The regex that is testing the chosen datasets is "^[A-Za-z0-9:]+$", which does
not include the underscore character. With a quick check on the generated HTML,
it looks like the underscore is the only character causing problems.
Thanks, should be fixed now.