httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob McCool <r...@netscape.com>
Subject Re: mod_access weirdness
Date Sun, 04 Feb 1996 17:15:00 GMT
> I can only see one bug:
> 
>         if (c->remote_host && isalpha(c->remote_host[0]))
> 	    if (in_domain(ap[i].from, c->remote_host))
> 		return 1;
> 
> assumes that all hostnames start with an alphabet character, which is
> not a valid assumption.

My understanding of Preferred Name Syntax (RFC 1034 or 1035 I think) is that 
it is a valid assumption. Am I misreading something?

--
Rob McCool, robm@netscape.com <a href=http://home.netscape.com/people/robm/>
Stunt Programmer, Netscape Communications Corporation
It was working ten minutes ago, I swear...
<a href="http://home.netscape.com/people/robm/">A must see.</a>

Mime
View raw message