[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 88499] Malformed URL error typing www.131500.info into
From: Luke <luke () deller ! id ! au>
Date: 2004-09-01 1:40:10
Message-ID: 20040901014010.31518.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=88499
------- Additional Comments From luke deller id au 2004-09-01 03:40 -------
I went looking for the official spec for hostname syntax.
Here's a snippet of a grammar from http://www.faqs.org/rfcs/rfc952.html
<hname> ::= <name>*["."<name>]
<name> ::= <let>[*[<let-or-digit-or-hyphen>]<let-or-digit>]
This was relaxed slightly by http://www.dns.net/dnsrd/rfc/rfc1123.txt sec 2.1 which states:
The syntax of a legal Internet host name was specified in RFC-952
[DNS:4]. One aspect of host name syntax is hereby changed: the
restriction on the first character is relaxed to allow either a
letter or a digit. Host software MUST support this more liberal
syntax.
Now here are some examples of false "malformed URL errors" in konqueror-3.3.0:
www.131500.info
131500.info
www.1-1.com
Here are some malformed URLs which konqueror-3.3.0 thinks are okay:
www.-blah.com
www.blah-.com
Here are some well formed URLs which konqueror-3.3.0 treats correctly:
www.hot100.com
www.100hot.com
www.1-b.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic