tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From na...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/server/isapi jk_isapi_plugin.c
Date Wed, 05 Feb 2003 22:10:51 GMT
nacho       2003/02/05 14:10:51

  Modified:    jk/native2/server/isapi jk_isapi_plugin.c
  Log:
  Revert latest Fix for Bug#16759
  
  Revision  Changes    Path
  1.55      +7 -11     jakarta-tomcat-connectors/jk/native2/server/isapi/jk_isapi_plugin.c
  
  Index: jk_isapi_plugin.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/server/isapi/jk_isapi_plugin.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- jk_isapi_plugin.c	4 Feb 2003 20:45:49 -0000	1.54
  +++ jk_isapi_plugin.c	5 Feb 2003 22:10:51 -0000	1.55
  @@ -2,7 +2,7 @@
    *                                                                           *
    *                 The Apache Software License,  Version 1.1                 *
    *                                                                           *
  - *          Copyright (c) 1999-2003 The Apache Software Foundation.          *
  + *          Copyright (c) 1999-2002 The Apache Software Foundation.          *
    *                           All rights reserved.                            *
    *                                                                           *
    * ========================================================================= *
  @@ -316,24 +316,20 @@
   
                   rc = jk_requtil_unescapeUrl(uri);
                   if (rc == BAD_REQUEST) {
  -                    env->l->jkLog(env, env->l,  JK_LOG_INFO, 
  +                    env->l->jkLog(env, env->l,  JK_LOG_ERROR, 
                              "HttpFilterProc [%s] contains one or more invalid escape sequences.\n",

                              uri);
  -                    // XXX: Let any other filter process the request, 
  -                    //      if they take any security measure or not doesnt matter.
  -                    //  write_error_response(pfc,"400 Bad Request", HTML_ERROR_400);
  +                    write_error_response(pfc,"400 Bad Request", HTML_ERROR_400);
                       workerEnv->globalEnv->releaseEnv( workerEnv->globalEnv, env
);
  -                    return SF_STATUS_REQ_NEXT_NOTIFICATION;
  +                    return SF_STATUS_REQ_FINISHED;
                   }
                   else if(rc == BAD_PATH) {
  -                    env->l->jkLog(env, env->l,  JK_LOG_INFO, 
  +                    env->l->jkLog(env, env->l,  JK_LOG_EMERG, 
                              "HttpFilterProc [%s] contains forbidden escape sequences.\n",

                              uri);
  -                    // XXX: Let any other filter process the request, 
  -                    //      if they take any security measure or not doesnt matter.
  -                    //  write_error_response(pfc,"403 Forbidden", HTML_ERROR_403);
  +                    write_error_response(pfc,"403 Forbidden", HTML_ERROR_403);
                       workerEnv->globalEnv->releaseEnv( workerEnv->globalEnv, env
);
  -                    return SF_STATUS_REQ_NEXT_NOTIFICATION;
  +                    return SF_STATUS_REQ_FINISHED;
                   }
                   jk_requtil_getParents(uri);
   
  
  
  

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