Dominique Pfister created SLING-3393:
----------------------------------------

             Summary: Parameter re-encoding does not work for Jetty 7 and above
                 Key: SLING-3393
                 URL: https://issues.apache.org/jira/browse/SLING-3393
             Project: Sling
          Issue Type: Bug
          Components: Engine
    Affects Versions: Engine 2.2.10
            Reporter: Dominique Pfister


SLING-559 changed the query encoding to 8859-1 when used in combination with 
Jetty, by setting a request attribute called:

"org.mortbay.jetty.Request.queryEncoding"

With Jetty 7 and above, this attribute has been changed to: 

"org.eclipse.jetty.server.server.Request.queryEncoding" 

[1], so the fix no longer works.

I suggest to either use both attribute names or only the new one, if support 
for Jetty 6 or earlier is no longer a must.

[1] 
http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/server/Request.html#setQueryEncoding(java.lang.String)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to