tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject cvs commit: jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core ApplicationContext.java
Date Thu, 17 Mar 2005 10:53:44 GMT
remm        2005/03/17 02:53:44

  Modified:    catalina/src/share/org/apache/catalina/core
                        ApplicationContext.java
  Log:
  - Ignore ';' if it is in the query string.
  
  Revision  Changes    Path
  1.27      +4 -1      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationContext.java
  
  Index: ApplicationContext.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationContext.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- ApplicationContext.java	23 Jun 2004 13:51:35 -0000	1.26
  +++ ApplicationContext.java	17 Mar 2005 10:53:44 -0000	1.27
  @@ -417,6 +417,9 @@
                * purposes
                */
               int semicolon = path.indexOf(';');
  +            if (pos >= 0 && semicolon > pos) {
  +                semicolon = -1;
  +            }
               uriCC.append(path, 0, semicolon > 0 ? semicolon : pos);
               context.getMapper().map(uriMB, mappingData);
               if (mappingData.wrapper == null) {
  
  
  

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


Mime
View raw message