Short hostnames in URLs

Waldo Bastian bastian at kde.org
Tue Aug 6 16:28:13 BST 2002


On Tuesday 06 August 2002 06:48 am, Lubos Lunak wrote:
>  Hello,
>
>  could somebody review the attached patch fixing #22901 ? Many people use
> only hostnames without domains for hosts in their local network, and
> Konqueror now redirects such requests to Real^H^H^H^HGoogle, which is
> pretty annoying. My change checks if the given cmd can be a short hostname.
> There's 0,5sec timeout on the DNS lookup, so I don't think it should be
> noticeable, especially as it's the last thing done in the URI filter (could
> somebody on dial-up please check?).

QDns doesn't check /etc/hosts, does it? I rather not see it used directly in 
code since it will result in inconsistent lookup results.

Cheers,
Waldo
-- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com





More information about the kde-core-devel mailing list