/[Apache-SVN]/httpd/httpd/trunk/modules/filters/mod_include.c
ViewVC logotype

Diff of /httpd/httpd/trunk/modules/filters/mod_include.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 571872, Sat Sep 1 21:27:26 2007 UTC revision 572136, Sun Sep 2 20:08:56 2007 UTC
# Line 192  struct ssi_internal_ctx { Line 192  struct ssi_internal_ctx {
192      const char   *undefined_echo;      const char   *undefined_echo;
193      apr_size_t    undefined_echo_len;      apr_size_t    undefined_echo_len;
194    
195        int         accessenable;    /* is using the access tests allowed? */
196    
197  #ifdef DEBUG_INCLUDE  #ifdef DEBUG_INCLUDE
198      struct {      struct {
199          ap_filter_t *f;          ap_filter_t *f;
# Line 1030  static int get_ptoken(include_ctx_t *ctx Line 1032  static int get_ptoken(include_ctx_t *ctx
1032          TYPE_TOKEN(token, TOKEN_LT);          TYPE_TOKEN(token, TOKEN_LT);
1033          return 0;          return 0;
1034      case '-':      case '-':
1035          if (**parse == 'A' && (ctx->accessenable)) {          if (**parse == 'A' && (ctx->intern->accessenable)) {
1036              TYPE_TOKEN(token, TOKEN_ACCESS);              TYPE_TOKEN(token, TOKEN_ACCESS);
1037              ++*parse;              ++*parse;
1038              return 0;              return 0;
# Line 3571  static apr_status_t includes_filter(ap_f Line 3573  static apr_status_t includes_filter(ap_f
3573          if (ap_allow_options(r) & OPT_INCNOEXEC) {          if (ap_allow_options(r) & OPT_INCNOEXEC) {
3574              ctx->flags |= SSI_FLAG_NO_EXEC;              ctx->flags |= SSI_FLAG_NO_EXEC;
3575          }          }
3576          ctx->accessenable = conf->accessenable;          intern->accessenable = conf->accessenable;
3577    
3578          ctx->if_nesting_level = 0;          ctx->if_nesting_level = 0;
3579          intern->re = NULL;          intern->re = NULL;

Legend:
Removed from v.571872  
changed lines
  Added in v.572136

apache@apache.org
ViewVC Help
Powered by ViewVC 1.1.2