Re: domainname case-sensitive???

Roy T. Fielding (fielding@avron.ICS.UCI.EDU)
Sat, 22 Oct 1994 23:01:14 -0700


Joern Clausen writes:

> I was wondering, if the domain part of a URL is case-sensitive. I would say
> no, as they are usually not case-sensitive in the rest of the UNIX world.

If the hostname can be identified as a FQDN, then yes it should be
case insensitive.  Future versions of wwwurl'absolute() will do

    $addr =~ s/\.$//;
    $addr =~ tr/A-Z/a-z/;

because a trailing "." can also be removed for canonicalization.


......Roy Fielding   ICS Grad Student, University of California, Irvine  USA
                                     <fielding@ics.uci.edu>
                     <URL:http://www.ics.uci.edu/dir/grad/Software/fielding>