Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 355378

Summary: addURLParameter() adds parameters twice to URL
Product: z_Archived Reporter: Aaron Digulla <digulla>
Component: BIRTAssignee: Birt-ReportViewer <Birt-ReportViewer-inbox>
Status: NEW --- QA Contact: Hao Zhou <hao.zhou>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: 3.7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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")