domainname case-sensitive???
joern@techfak.uni-bielefeld.de
Tue, 18 Oct 1994 11:39:37 +0100 (MET)
Hi there!
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.
The problem is, I was just writing my own little WWW-robot, and I encountered
the problem, that I found the same URL in different documents, but they
were written differently. One had the domainname completely in lowercase,
the other one in mixed case. As I had not taken this into account, when
writing the robot, they were classified as two different URLs, so they were
examined twice.
So, my question is: Should domainnames get normalized (e.g. in wwwurl'parse),
or should every application, that needs to compare two URLs do this on its
own? The IETF specification for URLs sais only, the scheme-part is
case insensitive, but I would say, this is valid for the domainname, too.
--
Joern Clausen "What do you think will be the biggest
joern@techfak.uni-bielefeld.de problem in computing in the 90s?"
Universitaet Bielefeld "There are only 17,000 three-letter-
Technische Fakultaet acronyms." [Paul Boutin]