[mapguide][MG29][Modified] Search result list shows URI encoded column titles

Alain Lebatard alain.lebatard at autodesk.com
Mon Feb 27 20:14:21 EST 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG29

Type:
OS:Issue

Artifact ID:
MG29 (Search result list shows URI encoded column titles)

Modified by:
Alain Lebatard
alainlebatard (alain.lebatard at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- OS:Resolution Description set to new value:
This was a case of double encoding. 

The problem is that the column title was encoded with escape() before being put in a form hidden field. At the point, "Street name" became "Street%20Name". Because the form itself is www-url-encoded, "Street%20Name" became "Street%2520Name" on the submission of the form. When the web server received this string, it decoded it to "Street%20Name" which is what appeared in the UI.

The bottom line is that strings put in form should not be encoded for URI.


-- OS:Resolution set to new value:
Submitted
-- OS:Status changed:
Old value:
New
New value:
Resolved



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list