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

List:       konq-bugs
Subject:    [Bug 88499] Malformed URL error typing www.131500.info into location
From:       Luke <luke () deller ! id ! au>
Date:       2004-09-01 1:40:09
Message-ID: 20040901014009.31489.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
      
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
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic