httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Kraemer <Martin.Krae...@mch.sni.de>
Subject Re: cvs commit: apache-1.3/src/main http_vhost.c
Date Tue, 03 Feb 1998 20:21:03 GMT
On Tue, Feb 03, 1998 at 07:51:37PM +0000, Ben Laurie wrote:
> > The error could even include a link to a guess (ie. strip the extra '.'s),
> > just not do it automagically.

OTOH, we could do it the other way round: strip of _any_ trailing dots,
then _always_ add exactly one before doing the resolving. That is
consistent internally (looks up a host only once) but guarantees that
all host names are interpreted as absolute.

Silly?

    Martin
-- 
| S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
| ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
| N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request

Mime
View raw message