tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5275] New: - Equals sign was not allowed in URL parameter values
Date Wed, 05 Dec 2001 08:33:02 GMT
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=5275>.
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=5275

Equals sign was not allowed in URL parameter values

           Summary: Equals sign was not allowed in URL parameter values
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: richard.hoad@fao.org


org.apache.catalina.util.RequestUtil does not parse URL parameters where the 
value contains '='. This bug was identified by my colleague Ennio Lepri.

We have a fix which I will also post to the developer list:
 Line ~507          case '=':
                    if (key == null)// NEW RLH
                    {
                        key = new String(data, 0, ox, encoding);
                        ox = 0;
                    } // NEW RLH
                    else // NEW RLH
                        data[ox++] = c; // NEW RLH
                    break;

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


Mime
View raw message