andya       2004/01/29 08:23:50

  Modified:    jk/native2/server/dsapi config.h jk_dsapi_plugin.c
  Log:
  Changed error handling in the event that a URI can not be unescaped. Now returns an 
access denied message if a URI that can not be decoded is found.
  
  Revision  Changes    Path
  1.4       +2 -2      jakarta-tomcat-connectors/jk/native2/server/dsapi/config.h
  
  Index: config.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/dsapi/config.h,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- config.h  29 Jan 2004 15:43:24 -0000      1.3
  +++ config.h  29 Jan 2004 16:23:49 -0000      1.4
  @@ -115,7 +115,7 @@
   #define TOMCAT_START_TAG     "tomcatStart"
   #define TOMCAT_STOP_TAG              "tomcatStop"
   #define TOMCAT_TIMEOUT_TAG   "tomcatTimeout"
  -#define VERSION                              "2.0.1"
  +#define VERSION                              "2.0.2"
   #define VERSION_STRING               "Jakarta/DSAPI/" VERSION
   #define FILTERDESC                   "Apache Tomcat Interceptor (" VERSION_STRING 
")"
   #define SERVERDFLT                   "Lotus Domino"
  
  
  
  1.4       +2 -2      
jakarta-tomcat-connectors/jk/native2/server/dsapi/jk_dsapi_plugin.c
  
  Index: jk_dsapi_plugin.c
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-connectors/jk/native2/server/dsapi/jk_dsapi_plugin.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- jk_dsapi_plugin.c 29 Jan 2004 15:43:24 -0000      1.3
  +++ jk_dsapi_plugin.c 29 Jan 2004 16:23:50 -0000      1.4
  @@ -948,7 +948,7 @@
        
           rc = jk_requtil_unescapeUrl(turi);
                if (rc < 0) {
  -                     return rejectWithError(context, "Failed to unescape URI");
  +                     return rejectBadURI(context);
                }
   
           jk_requtil_getParents(turi);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to