[jboss-jira] [JBoss JIRA] Commented: (JBPORTAL-1759) Entering urls containing German Umlaute (e.g. ü = %FC) throws an ArrayIndexOutOfBoundsException in FastURLDecoder

Julien Viet (JIRA) jira-events at lists.jboss.org
Thu Oct 18 17:55:07 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPORTAL-1759?page=comments#action_12383345 ] 
            
Julien Viet commented on JBPORTAL-1759:
---------------------------------------

However the bug should be resolved to detect that the input is wrong and it should be handled differently than a ArrayIndexOutOfBoundsException. I will consider this report as a bug in the detection of malformed input and correct it. If the URL you are giving me is manufactured by the portal, tell us how it was done with a new JIRA issue for it.

> Entering urls containing German Umlaute (e.g. ü = %FC) throws an ArrayIndexOutOfBoundsException in FastURLDecoder
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBPORTAL-1759
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-1759
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Portal Server
>    Affects Versions: 2.6.2 Final
>         Environment: Jboss AS 4.0.5 GA on JDK 1.4.2_14
> Tested using the browsers: Mozilla Firefox 2.0.0.7 and MS Internet Explorer 6.0
>            Reporter: Johannes Fiala
>         Assigned To: Julien Viet
>             Fix For: 2.6.3 Final
>
>
> Entering urls containing German Umlaute (e.g. ü = %FC) throws an ArrayIndexOutOfBoundsException in FastURLDecoder.
> E.g. Entering "http://localhost:8080/portal/?test=%FC"
> throws the following exception:
> HTTP Status 500 -
> type Exception report
> message description The server encountered an internal error () that prevented it from fulfilling this request.
> exception java.lang.ArrayIndexOutOfBoundsException: 4
> 	org.jboss.portal.common.text.FastURLDecoder.encodeNoCheck(FastURLDecoder.java:268)
> 	org.jboss.portal.common.text.FastURLDecoder.encode(FastURLDecoder.java:226)
> 	org.jboss.portal.common.http.QueryStringParser.parseQueryString(QueryStringParser.java:233)
> 	org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:291)
> 	javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
> Prior versions of Jboss Portal (2.2.1 SP3, 2.6.1 GA) handle this correctly, so this bug is newly introduced with Jboss Portal 2.6.2 GA.
> The issue does not seem to be browser specific, as it occurs with Mozilla Firefox 2.0.0.7 and MS Internet Explorer 6.0.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list