Bug 17953

Summary: link without prefix 'http:' in konqueror
Product: [Applications] konqueror Reporter: Hp News <hp.news>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Other   
Latest Commit: Version Fixed In:

Description Hp News 2001-01-01 16:22:25 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: konqueror
Version: 2.0
Severity: normal
Installed from: downloaded Source installed on SuSE 6.3

On http://www.bonn.de/rathaus/ there is a link on the left called "Wegweiser". The HTML-Source of this link is
<A HREF="//bos.bonn.de/bos/index.asp">

That means it´s a link without prefix "http:" but not a relative one because of "//".

Netscape interprets this like there was prefix "http:" and so connects to the right site
http://bos.bonn.de/bos/index.asp

Konqueror interprets this link like it was relative so it unsuccessfully tries to connect to
http://www.bonn.de/bos.bonn.de/bos/index.asp

Whether such a link is incorrect or not Netscape´s way seems to be better. I´ve often seen Konqueror trying to connect to such strange URLs like http://server1/server2/path...
But because now it was the first time that I then read the Sourcecode I can give you only this example

Hape

(submitted via bugs.kde.org)
Comment 1 Dawit Alemayehu 2001-01-01 19:32:32 UTC
On Monday 01 January 2001 11:22 hp.news@gmx.de wrote:
> Package: konqueror
> Version: 2.0
> Severity: normal
> Installed from: downloaded Source installed on SuSE 6.3
>
> On http://www.bonn.de/rathaus/ there is a link on the left called
> "Wegweiser". The HTML-Source of this link is <A
> HREF="//bos.bonn.de/bos/index.asp">
>
> That means it´s a link without prefix "http:" but not a relative one
> because of "//".
>
> Netscape interprets this like there was prefix "http:" and so connects to
> the right site http://bos.bonn.de/bos/index.asp
>
> Konqueror interprets this link like it was relative so it unsuccessfully
> tries to connect to http://www.bonn.de/bos.bonn.de/bos/index.asp
>
> Whether such a link is incorrect or not Netscape´s way seems to be better.
> I´ve often seen Konqueror trying to connect to such strange URLs like
> http://server1/server2/path... But because now it was the first time that I
> then read the Sourcecode I can give you only this example

Hello

This has already been fixed and should be there for KDE 2.1.
Thanks for the report.

Regards
Dawit A.