httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/modules/filters mod_include.c
Date Sun, 24 Aug 2003 00:35:22 GMT
nd          2003/08/23 17:35:22

  Modified:    modules/filters mod_include.c
  Log:
  remove the rest of the artifical string limitations
  
  Revision  Changes    Path
  1.257     +7 -10     httpd-2.0/modules/filters/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/modules/filters/mod_include.c,v
  retrieving revision 1.256
  retrieving revision 1.257
  diff -u -r1.256 -r1.257
  --- mod_include.c	24 Aug 2003 00:25:42 -0000	1.256
  +++ mod_include.c	24 Aug 2003 00:35:22 -0000	1.257
  @@ -1756,7 +1756,7 @@
               break;
           }
   
  -        parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL, MAX_STRING_LEN,
  +        parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL, 0,
                                               SSI_EXPAND_DROP_NAME);
           if (tag[0] == 'f') {
               /* XXX: Port to apr_filepath_merge
  @@ -1902,8 +1902,7 @@
               apr_size_t e_len;
   
               val = get_include_var(ap_ssi_parse_string(ctx, tag_val, NULL,
  -                                                      MAX_STRING_LEN,
  -                                                      SSI_EXPAND_DROP_NAME),
  +                                                      0, SSI_EXPAND_DROP_NAME),
                                     ctx);
   
               if (val) {
  @@ -2018,8 +2017,7 @@
                              ctx->time_str, 0));
           }
           else if (!strcmp(tag, "sizefmt")) {
  -            parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL,
  -                                                MAX_STRING_LEN,
  +            parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL, 0,
                                                   SSI_EXPAND_DROP_NAME);
               if (!strcmp(parsed_string, "bytes")) {
                   ctx->flags |= SSI_FLAG_SIZE_IN_BYTES;
  @@ -2082,7 +2080,7 @@
               break;
           }
   
  -        parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL, MAX_STRING_LEN,
  +        parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL, 0,
                                               SSI_EXPAND_DROP_NAME);
   
           if (!find_file(r, "fsize", tag, parsed_string, &finfo)) {
  @@ -2169,7 +2167,7 @@
               break;
           }
   
  -        parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL, MAX_STRING_LEN,
  +        parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL, 0,
                                               SSI_EXPAND_DROP_NAME);
   
           if (!find_file(r, "flastmod", tag, parsed_string, &finfo)) {
  @@ -2451,7 +2449,7 @@
           }
   
           if (!strcmp(tag, "var")) {
  -            var = ap_ssi_parse_string(ctx, tag_val, NULL, MAX_STRING_LEN,
  +            var = ap_ssi_parse_string(ctx, tag_val, NULL, 0,
                                         SSI_EXPAND_DROP_NAME);
           }
           else if (!strcmp(tag, "value")) {
  @@ -2465,8 +2463,7 @@
                   break;
               }
   
  -            parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL,
  -                                                MAX_STRING_LEN,
  +            parsed_string = ap_ssi_parse_string(ctx, tag_val, NULL, 0,
                                                   SSI_EXPAND_DROP_NAME);
               apr_table_setn(r->subprocess_env, apr_pstrdup(p, var),
                              apr_pstrdup(p, parsed_string));
  
  
  

Mime
View raw message