Bug 355378 - addURLParameter() adds parameters twice to URL
Summary: addURLParameter() adds parameters twice to URL
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 3.7.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Birt-ReportViewer CLA
QA Contact: Hao Zhou CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-22 08:45 EDT by Aaron Digulla CLA
Modified: 2011-11-09 21:19 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Digulla CLA 2011-08-22 08:45:23 EDT
In the file BirtUtility.js is a method addURLParameter with this line:

    paramPart += "?" + paramPart;

This should read

    paramPart = "?" + paramPart;

Otherwise, the paramter would be added twice to the URL if the URL has no query ("some/url" -> "some/urlparam=value?=param=value")