[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Lower case URLs?
From:       Thiago Macieira <thiagom () wanadoo ! fr>
Date:       2003-08-02 22:24:46
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Thiago Macieira wrote:
>>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.

Answering myself with a bit more of backing:

RFC 1738 - Uniform Resource Locators (URL)

2.1 The main parts of URLs
[...]
 In general, URLs are written as follows: 

       <scheme>:<scheme-specific-part>

3.1 Common Internet Scheme Syntax
[...] The scheme specific data start with a double slash "//" to indicate that 
it complies with the common Internet scheme syntax. The different components 
obey the following rules:
[...]
host 
 The fully qualified domain name of a network host, or its IP address as a set 
of four decimal digit groups separated by ".". Fully qualified domain names 
take the form as described in Section 3.5 of RFC 1034 [13] and Section 2.1 of 
RFC 1123 [5]: a sequence of domain labels separated by ".", each domain label 
starting and ending with an alphanumerical character and possibly also 
containing "-" characters. The rightmost domain label will never start with a 
digit, though, which syntactically distinguishes all domain names from the IP 
addresses.

(This is further updated by RFC 2732 - Format for Literal IPv6 Addresses in 
URL's - that KURL has supported for several years now; with IDNA, this is 
again further expanded)

The definition above makes KURL have every right to apply STD 3 and RFC 3491 
rules to hostname parts of the URLs.

Note we're talking about URLs here, not the expanded sense of URIs as defined 
by RFC 2396..

-- 
  Thiago Macieira  -  Registered Linux user #65028
   thiagom@mail.com           
    ICQ UIN: 1967141   PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

[Attachment #5 (application/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