[mapguide-trac] #1510: Home button does not make correct url if initial task pane url has parameters

MapGuide Open Source trac_mapguide at osgeo.org
Thu Oct 28 07:27:39 EDT 2010


#1510: Home button does not make correct url if initial task pane url has
parameters
---------------------------+------------------------------------------------
   Reporter:  jng          |       Owner:       
       Type:  defect       |      Status:  new  
   Priority:  low          |   Milestone:  2.2  
  Component:  AJAX Viewer  |     Version:  2.2.0
   Severity:  trivial      |    Keywords:       
External_id:               |  
---------------------------+------------------------------------------------
 Open a web layout with the following address:

 http://www.google.com?foo=bar

 Load the web layout, inspecting the task pane will reveal the correct base
 url (w/ the foo=bar in the querystring)

 Now hit the home button and inspect the task pane again, the url is now
 something similar to:

 http://www.google.com/?foo=bar?SESSION=96594330-e283-11df-8000-080027009413_en_7F0000010AFC0AFB0AFA&LOCALE=en&MAPNAME=Sheboygan

 Note the double '?'. This is due to the GettingStartedURL() function in
 mainframe.templ naively appending the querystring to the base url without
 checking if the base url has query string parameters.

 This function needs to be modified to take this into account.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1510>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list