https://issues.apache.org/bugzilla/show_bug.cgi?id=55454

Violeta Georgieva <violet...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #2 from Violeta Georgieva <violet...@apache.org> ---
(In reply to Mark Thomas from comment #1)
> I'm unable to reproduce this with a unit test on Tomcat 7.0.x or 8.0.x nor
> with a JSP with 7.0.x. I have tried with the example provided and with
> various combinations of whitespace around the ';'.
> 
> If you are sure this issue affects that latest stable Tomcat 7 release
> please re-open this issue and attach the simplest possible JSP that
> demonstrates the issue on a clean Tomcat 7 install of the latest stable
> release.

Mark
I took the <tomcat7.0.x-trunk>/webapps/examples/jsp/jsp2/jspx/basic.jspx and
change it like this <jsp:directive.page contentType="text/html;" />

Then I can reproduce the NPE.

org.apache.tomcat.util.http.parser.HttpParser.parseMediaType(StringReader) 

row -> 211 String attribute = readToken(input);

the attribute is null and the input is "text/html;;charset=UTF-8"

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

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

Reply via email to