httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk.vanGulik" <Dirk.vanGu...@jrc.it>
Subject Re: mod_access weirdness
Date Sun, 04 Feb 1996 17:37:34 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?

:-( No it is not; one of the few exception areas where it is allowed to
have a number as first; (quoting an explicit warning from the O'Reilly BIND/DNS
book so not tooo authorative :-()

Dw.




Mime
View raw message