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/realm RealmBase.java
Date Thu, 15 Aug 2002 17:47:04 GMT
remm        2002/08/15 10:47:04

  Modified:    catalina/src/share/org/apache/catalina/realm RealmBase.java
  Log:
  - Remove double URI decoding.
  - This could improve performance as well as fix i18n issues.
  - This may have been a security issue.
  - Reported by Juergen Pill <Juergen.Pill at softwareag.com>
  
  Revision  Changes    Path
  1.4       +4 -5      jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/RealmBase.java
  
  Index: RealmBase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm/RealmBase.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RealmBase.java	9 Aug 2002 01:12:39 -0000	1.3
  +++ RealmBase.java	15 Aug 2002 17:47:04 -0000	1.4
  @@ -455,7 +455,6 @@
           String contextPath = hreq.getContextPath();
           if (contextPath.length() > 0)
               uri = uri.substring(contextPath.length());
  -        uri = RequestUtil.URLDecode(uri); // Before checking constraints
           String method = hreq.getMethod();
           for (int i = 0; i < constraints.length; i++) {
               if (debug >= 2)
  
  
  

--
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