[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Lower case URLs?
From: Waldo Bastian <bastian () svn ! net>
Date: 2003-08-02 22:26:24
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 03 August 2003 00:09, Thiago Macieira wrote:
> Petter E. Stokke wrote:
> >The key word being "usual". A number of applications depend on URLs that
> >don't even pretend to be RFC compliant,
>
> Then they have to be fixed.
>
> Since my addition and fixes of IDNA implementation, KURL now respects all
> rules defined in RFC 3491 (Nameprep: A Stringprep Profile for
> Internationalized Domain Names (IDN)) if you have libidn installed. If you
> don't, it'll just fold the hostname to lowercase.
>
> >or even if they are have nothing
> >to do with the Internet, and it would be a mistake to make assumptions
> >about the case insensitivity of any part of a URL for which the protocol
> >isn't known to exhibit this property.
>
> URLs are defined with case insensitive hostnames. A protocol where
> hostnames are case sensitive (there is no such thing in DNS) probably will
> have a hard time using URLs at all.
The problem is that the hostname part of a URL not necessarily refers to a DNS
hostname. That is the case in smb for example, where it refers to a workgroup
I believe. Fortunately those names are case insensitive so it doesn't cause
problems there.
Cheers,
Waldo
- --
bastian@suse.com -=|[ SuSE, The Linux Desktop Experts ]|=- bastian@suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/LDqQN4pvrENfboIRAmTSAKCjnM7dFC9zCXQ/8X56rD1AhoEwUQCeKdoH
CiDOKUmWAKCpS2cq2RzVsJI=
=aZjC
-----END PGP SIGNATURE-----
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic