From kde-core-devel Tue Aug 06 15:28:13 2002 From: Waldo Bastian Date: Tue, 06 Aug 2002 15:28:13 +0000 To: kde-core-devel Subject: Re: Short hostnames in URLs X-MARC-Message: https://marc.info/?l=kde-core-devel&m=102864781905253 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 hostnam= e. > 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 (cou= ld > somebody on dial-up please check?). QDns doesn't check /etc/hosts, does it? I rather not see it used directly i= n=20 code since it will result in inconsistent lookup results. Cheers, Waldo =2D-=20 bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com