tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 53469] New: possible bug in Response.normalize(CharChunk cc)
Date Tue, 26 Jun 2012 12:45:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=53469

          Priority: P2
            Bug ID: 53469
          Assignee: dev@tomcat.apache.org
           Summary: possible bug in Response.normalize(CharChunk cc)
          Severity: normal
    Classification: Unclassified
          Reporter: vonk.thijs@gmail.com
          Hardware: PC
            Status: NEW
           Version: 7.0.28
         Component: Servlet & JSP API
           Product: Tomcat 7

The Response.normalize(CharChunk cc) introduced in 7.0.28 introduced a bug.
See Bug ID 53062

The URL that is being encoded is:
../../resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js?w:lm=1340711670
which causes a IllegalArgumentException in this method

java.lang.IllegalArgumentException
    at org.apache.catalina.connector.Response.normalize(Response.java:1799)
    at org.apache.catalina.connector.Response.toAbsolute(Response.java:1732)
    at org.apache.catalina.connector.Response.encodeURL(Response.java:1242)
    at
org.apache.catalina.connector.ResponseFacade.encodeURL(ResponseFacade.java:406)
    at
org.apache.wicket.protocol.http.WebResponse.encodeURL(WebResponse.java:149)
    at
org.apache.wicket.protocol.http.request.WebRequestCodingStrategy.encode(WebRequestCodingStrategy.java:387)

Running the same application in tomcat 7.0.27 and 6.0.18 works without issue

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message