httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@gonzo.ben.algroup.co.uk>
Subject Re: PATCH to fix multiple location redirects
Date Sun, 14 Apr 1996 21:11:27 GMT
> 
> 
> 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.

Mime
View raw message