lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev patch to HTAAServ.c to allow use of NO_RULES


From: dickey
Subject: Re: lynx-dev patch to HTAAServ.c to allow use of NO_RULES
Date: Thu, 11 Mar 1999 21:04:15 -0500 (EST)

> 
> Please integrate the following patch so that the NO_RULES define can 
> be used.  (Seems first post of this patch was not caught.) 

I don't remember (but now I have it).  Thanks.
  
> __Henry 
>  
> *** lynx2-8-2/WWW/Library/Implementation/HTAAServ.c.orig      Fri Feb 26 
> 09:39:33 1999 
> --- lynx2-8-2/WWW/Library/Implementation/HTAAServ.c   Fri Feb 26 10:11:29 
> 1999 
> *************** 
> *** 425,430 **** 
> --- 425,432 ---- 
>       HTAAFailReason = HTAA_DOTDOT; 
>       } 
>       else { 
> +  
> + #ifndef NO_RULES 
>       pathname = HTTranslate(local_copy); /* Translate rules even if */ 
>                                           /* a /htbin call to set up */ 
>                                           /* protections.            */ 
> *************** 
> *** 447,452 **** 
> --- 449,456 ---- 
>           HTAAFailReason = HTAA_BY_RULE; 
>       } 
>       else if (HTAAFailReason != HTAA_HTBIN) { 
> + #endif /* NO_RULES */ 
> +  
>           /* pathname != NULL */ 
>           char *acc_method = HTParse(pathname, "", PARSE_ACCESS); 
>           if (!*acc_method || 0 == strcmp(acc_method,"file")) { /*Local file, 
> do AA*/ 
> *************** 
> *** 464,470 **** 
> --- 468,478 ---- 
>                           "Gatewaying -- skipping authorization check", 
>                           acc_method); 
>           } 
> +  
> + #ifndef NO_RULES 
>       } /* pathname */ 
> + #endif /* NO_RULES */ 
> +  
>       } 
>       FREE(local_copy); 
>    


-- 
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]