Bug 220500 - Konqueror refuses to open URL with an underscore
Summary: Konqueror refuses to open URL with an underscore
Status: RESOLVED INTENTIONAL
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 226648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-12-29 10:19 UTC by Michal Vyskocil
Modified: 2010-02-13 17:47 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Vyskocil 2009-12-29 10:19:09 UTC
Version:            (using Devel)
Installed from:    Compiled sources

Konqueror refuses to open an URL with an underscore. I tryed to open:
http://vzory_smluv.a4.cz/protokol.html

Konqyeror shows only a meessage box with "Malformed URL
http:/protokol.html" text and refuses to open it. Other applications - Firefox, curl, wget - opens it without a problem.

The a4.cz is accessible, but when I type vzory_smluv.a4.cz (or http://vzory_smluv.a4.cz, or http://foo_bar.com) into adress bar I got the error page

The requested operation could not be completed
Unknown Host
Details of the Request:
URL: http:
Protocol: http
Date and Time: Tuesday 29 December 2009 10:08
Additional Information: 
Description:
An unknown host error indicates that the server with the requested name, , could not be located on the Internet.
Possible Causes:
The name that you typed, , may not exist: it may be incorrectly typed.
There may have been a problem with your network connection.
There may have been a problem with your network configuration. If you have been accessing the Internet with no problems recently, this is unlikely.
Possible Solutions:
Check your network connection status.
Contact your appropriate computer support system, whether the system administrator, or technical support group for further assistance

and adress bar contains the "http:" only.
Comment 1 Ruchir Brahmbhatt 2009-12-29 14:57:16 UTC
I can confirm this.
Qt: 4.6.1
KDE Development Platform: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) "release 8"
Konqueror: 4.3.85 (KDE 4.3.85 (KDE 4.4 Beta2)) "release 8"
Comment 2 Thiago Macieira 2010-01-05 18:34:39 UTC
That domain violates STD3. STD3 requires all DNS domain names to be limited to Letters, Digits and Hyphen.
Comment 3 Christoph Bartoschek 2010-01-15 18:24:41 UTC
Is there a reason to not extend the standard? Apparently such domains are used.
Comment 4 Maksim Orlovich 2010-02-13 17:29:50 UTC
*** Bug 226648 has been marked as a duplicate of this bug. ***
Comment 5 Anders Lund 2010-02-13 17:47:56 UTC
Isn't is legal with underscores in the hostname?
In any case, if there is an invalid URL, it would be nice with a meaningful error message :)