OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: valid_hostname chokes on trailing dot

From: Wietse Venema (wietseporcupine.org)
Date: Wed Oct 01 2008 - 11:32:22 CDT


Chad Whitacre:
> Greetings,
>
> In src/util/valid_hostname.c (version 2.5.5), valid_hostname
> gives a "misplaced delimiter" warning if the hostname ends in a
> trailing dot. Since a trailing dot is technically part of a FQDN,
> I suggest that valid_hostname allow them. Patch attached.

Please cite the relevant section of the relevant RFC.

        Wietse