Sling decodes request parameter again
-------------------------------------

                 Key: SLING-242
                 URL: https://issues.apache.org/jira/browse/SLING-242
             Project: Sling
          Issue Type: Bug
            Reporter: Tobias Bocanegra
            Priority: Critical


eg, sending a urlencoded post with:

    date = Sat Feb 09 2008 00:26:16 GMT+0100

it is decoded again in the 'EncodedRequestParameter' and results in

   Sat Feb 09 2008 00:26:16 GMT 0100

the decoding is not needed at all, since the servlet container already decodes 
it. this is also true for GET queries.

Example:
test.jsp:
  "<%= request.getParameter("test") %>" 

http://localhost:5003/sling/test.jsp.html?test=foo%2bbar
  Prints: "foo bar" instead of "foo+bar"

http://localhost:5003/sling/test.jsp.html?test=100%2565
  Prints: "100e"  instead of "100%65"


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to