You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Ben Laurie <be...@gonzo.ben.algroup.co.uk> on 1996/04/14 23:11:27 UTC

Re: PATCH to fix multiple location redirects

> 
> 
> Please can someone commit this for me.

Done.

> 
> A 2nd/3rd/.. Location header should replace rather be merged with
> existing Location header.
> 
> I think I'm to blame for that piece of stupidity.
> 
> 
> 
> *** util_script.c.orig	Wed Mar  6 04:06:23 1996
> --- util_script.c	Sun Apr 14 15:24:53 1996
> ***************
> *** 300,306 ****
>               r->status_line = pstrdup(r->pool, l);
>           }
>           else if(!strcasecmp(w,"Location")) {
> ! 	    table_merge (r->headers_out, w, l);
>           }   
>           else {
>   	    table_merge (r->err_headers_out, w, l);
> --- 300,306 ----
>               r->status_line = pstrdup(r->pool, l);
>           }
>           else if(!strcasecmp(w,"Location")) {
> ! 	    table_set (r->headers_out, w, l);  
>           }   
>           else {
>   	    table_merge (r->err_headers_out, w, l);
> 
> 

-- 
Ben Laurie                  Phone: +44 (181) 994 6435
Freelance Consultant and    Fax:   +44 (181) 994 6472
Technical Director          Email: ben@algroup.co.uk
A.L. Digital Ltd,           URL: http://www.algroup.co.uk
London, England.