I'd like to _strongly_ consider this patch for 1.3.19 ... comments (RM's opinion?)

----- Original Message ----- 
From: "Gertjan van Wingerde" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, February 24, 2001 9:33 AM
Subject: [PATCH] Apache 1.3: Fix for bug 7114.


> Hi,
> 
> I have fixed the problem described in bug report 7114 regarding the
> missing WWW-Authenticate
> header in responses to directory URL's, while using the DirectoryIndex
> directive.
> The attached patch contains a simple one-liner fix to fix the indicated
> bug.
> 
> Please direct comments directly to me, as I'm not subscribed to this
> mailing list.
> 
> Best Regards,
> 
> Gertjan van Wingerde.


--------------------------------------------------------------------------------


> diff -u --recursive apache_1.3.17/src/modules/standard/mod_dir.c 
>apache_1.3.17+bugfix/src/modules/standard/mod_dir.c
> --- apache_1.3.17/src/modules/standard/mod_dir.c Mon Jan 15 18:05:40 2001
> +++ apache_1.3.17+bugfix/src/modules/standard/mod_dir.c Sat Feb 24 16:11:59 2001
> @@ -178,7 +178,8 @@
>          /* If the request returned a redirect, propagate it to the client */
>  
>          if (ap_is_HTTP_REDIRECT(rr->status) ||
> -            (rr->status == HTTP_NOT_ACCEPTABLE && num_names == 1)) {
> +            (rr->status == HTTP_NOT_ACCEPTABLE && num_names == 1) ||
> +            (rr->status == HTTP_UNAUTHORIZED && num_names == 1)) {
>  
>              ap_pool_join(r->pool, rr->pool);
>              error_notfound = rr->status;
> 

Reply via email to