From kde-devel Sat Aug 02 22:09:15 2003 From: Thiago Macieira Date: Sat, 02 Aug 2003 22:09:15 +0000 To: kde-devel Subject: Re: Lower case URLs? X-MARC-Message: https://marc.info/?l=kde-devel&m=105986232928017 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============017080710594583159==" --===============017080710594583159== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_LaDL/c2G9gK3we5"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_LaDL/c2G9gK3we5 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 rules defined in RFC 3491 (Nameprep: A Stringprep Profile for=20 Internationalized Domain Names (IDN)) if you have libidn installed. If you= =20 don't, it'll just fold the hostname to lowercase. >or even if they are have nothing=20 >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.=20 URLs are defined with case insensitive hostnames. A protocol where hostname= s=20 are case sensitive (there is no such thing in DNS) probably will have a har= d=20 time using URLs at all. >Especially given the kioslave system and its potential multitude of >various protocol implementations, I'd consider this property of KURL (if >that is, as it seems to be, where the problem lies) a Very Bad Thing and >ask that it be reverted, or at least constrained to protocols for which >it's known that converting to lower case would be safe. I won't revert my commit because that would simply remove IDNA support in K= DE.=20 Kioslaves have to be implemented with case-insensitive hostnames. Otherwise= =20 that's abusing the ioslave system (IMO). =2D-=20 Thiago Macieira - Registered Linux user #65028 thiagom@mail.com =20 ICQ UIN: 1967141 PGP/GPG: 0x6EF45358; fingerprint: E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358 --Boundary-02=_LaDL/c2G9gK3we5 Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQA/LDaLM/XwBW70U1gRAkTkAKCGcwBKwByjO0ISEEPOeVJ2gmcHMwCeKIC5 47SUIEAh2E15JMO/93y3m3I= =pH1d -----END PGP SIGNATURE----- --Boundary-02=_LaDL/c2G9gK3we5-- --===============017080710594583159== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============017080710594583159==--