Version: (using KDE KDE 3.3.0) Installed from: Gentoo Packages Compiler: gcc-3.4.1 OS: Linux When I type www.131500.info into konqueror's location bar and press enter, I get an error dialog box saying: Malformed URL www.131500.info It works fine if I type http://www.131500.info instead
I can confirm this. Happens on any URL without non-numeric characters between the www. and the TLD suffix.
This is a bug in KURL; Konqueror uses KURL's isValid() function to check for the validity of the URL. Luke, can you please list any other URL's that you also get this problem with? Thanks
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
Fixed for 3.3.1 release. Thanks for the report...