httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@hyperreal.com>
Subject cvs commit: apache/src CHANGES mod_alias.c
Date Mon, 14 Apr 1997 01:09:15 GMT
dgaudet     97/04/13 18:09:14

  Modified:    src       CHANGES mod_alias.c
  Log:
  Redirect did not preserve ?query_strings when present in the client's request.
  
  Revision  Changes    Path
  1.231     +3 -0      apache/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /export/home/cvs/apache/src/CHANGES,v
  retrieving revision 1.230
  retrieving revision 1.231
  diff -C3 -r1.230 -r1.231
  *** CHANGES	1997/04/11 22:24:53	1.230
  --- CHANGES	1997/04/14 01:09:12	1.231
  ***************
  *** 1,5 ****
  --- 1,8 ----
    Changes with Apache 1.2
    
  +   *) Redirect did not preserve ?query_strings when present in the client's
  +      request.  [Dean Gaudet]
  + 
      *) Add mod_example (illustration of API techniques).  [Ken Coar]
    
      *) Add macro for memmove to conf.h for SUNOS4. [Marc Slemko]
  
  
  
  1.15      +6 -1      apache/src/mod_alias.c
  
  Index: mod_alias.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_alias.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -C3 -r1.14 -r1.15
  *** mod_alias.c	1997/03/07 14:15:37	1.14
  --- mod_alias.c	1997/04/14 01:09:13	1.15
  ***************
  *** 272,279 ****
            return DECLINED;
    
        if ((ret = try_alias_list (r, serverconf->redirects, 1, &status)) != NULL)
{
  ! 	if (is_HTTP_REDIRECT(status))
    	    table_set (r->headers_out, "Location", ret);
            return status;
        }
        
  --- 272,284 ----
            return DECLINED;
    
        if ((ret = try_alias_list (r, serverconf->redirects, 1, &status)) != NULL)
{
  ! 	if (is_HTTP_REDIRECT(status)) {
  ! 	    /* include QUERY_STRING if any */
  ! 	    if (r->args) {
  ! 		ret = pstrcat (r->pool, ret, "?", r->args, NULL);
  ! 	    }
    	    table_set (r->headers_out, "Location", ret);
  + 	}
            return status;
        }
        
  
  
  

Mime
View raw message