Closed Bug 875831 Opened 13 years ago Closed 13 years ago

Tabular report links to queries for components with ampersands (&) in names fail to escape the ampersand

Categories

(Bugzilla :: Reporting/Charting, defect)

4.2.6
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 859188

People

(Reporter: mozilla, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0 (Beta/Release) Build ID: 20130409194949 Steps to reproduce: Run a tabular report by component. Click on a link for a component whose name contains an ampersand. For example the "Attachments & Requests" component in this report: https://bugzilla.mozilla.org/report.cgi?x_axis_field=&y_axis_field=component&z_axis_field=&query_format=report-table&short_desc_type=allwordssubstr&short_desc=&classification=Server+Software&product=Bugzilla&longdesc_type=allwordssubstr&longdesc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&bug_id=&bug_id_type=anyexact&votes=&votes_type=greaterthaneq&emailassigned_to1=1&emailtype1=substring&email1=&emailassigned_to2=1&emailreporter2=1&emailqa_contact2=1&emailtype2=substring&email2=&emailtype3=substring&email3=&chfieldvalue=&chfieldfrom=&chfieldto=Now&j_top=AND&f1=noop&o1=noop&v1=&format=table&action=wrap Actual results: The resulting query URL failed to escape the ampersand (&) in the component name, so the bugs in the table were not listed. The resulting URL was: https://bugzilla.mozilla.org/buglist.cgi?action=wrap&classification=Server%20Software&product=Bugzilla&component=Attachments%20&%20Requests Expected results: The proper URL, with escaped ampersand, should be generated: https://bugzilla.mozilla.org/buglist.cgi?list_id=6626379&classification=Server%20Software&query_format=advanced&component=Attachments%20%26%20Requests&product=Bugzilla
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Assignee: general → charting
Component: Bugzilla-General → Reporting/Charting
You need to log in before you can comment on or make changes to this bug.