KURL::isLocalFile uses gethostname
Waldo Bastian
bastian at kde.org
Wed Apr 30 15:14:15 BST 2003
On Thursday 01 May 2003 02:07, Dawit A. wrote:
> May I inquire what the purpose of adding code that performs hostname
> lookups in KURL::isLocalFile is ? Is it for the sake of compatibility with
> the XDND spec. ?
Yes, it is.
> Every implementation I have seen completely ignores the
> host portion of a file URL even if one is specified. Try
> file://www.kde.org/usr/local/src/ in Mozilla or Opera for example.
That's their problem really.
> I think
> the cost of that gethostname however rare it might be encountered is
> completely unnecessary.
Whenever it gets encountered it is necessary, which won't be very often.
> But then again it is no secret that I think there
> is a lot of things wrong with KURL. Oh well...
Cheers,
Waldo
--
bastian at kde.org -=|[ SuSE, The Linux Desktop Experts ]|=- bastian at suse.com
More information about the kde-core-devel
mailing list