You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2003/03/22 19:14:32 UTC

DO NOT REPLY [Bug 18250] New: - Specifying "%" as a parameter value causes ArrayIndexOutOfBoundsException

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18250>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18250

Specifying "%"  as a parameter value causes ArrayIndexOutOfBoundsException

           Summary: Specifying "%"  as a parameter value causes
                    ArrayIndexOutOfBoundsException
           Product: Tomcat 4
           Version: 4.1.18
          Platform: All
               URL: http://www.thauvin.net/blog/bug.jsp?foo=%
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: erik@thauvin.net


An ArrayIndexOutOfBoundsException exception is returned whenever 
request.getParameter() is called on a request parameter whose value ends 
with "%".

For example:

     bug.jsp: <% request.getParameter("foo"); %>

     URLs: http://.../bug.jsp?foo=%
           http://.../bug.jsp?foo=bar%

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