Bug 67313 - (test case) base tag in body not ignored
Summary: (test case) base tag in body not ignored
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml parsing (show other bugs)
Version: 4.5.4
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-05 15:44 UTC by Tom Gufler
Modified: 2024-05-06 20:48 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
test case (362 bytes, text/html)
2003-11-05 19:58 UTC, Stephan Kulow
Details
test-case (306 bytes, text/html)
2008-04-06 10:03 UTC, Anne-Marie Mahfouf
Details
testcase with a new image (326 bytes, text/html)
2011-01-08 16:22 UTC, Samuel Brack
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Gufler 2003-11-05 15:44:36 UTC
Version:           4.0 (using KDE 3.1.93 (CVS >= 20031028), Gentoo)
Compiler:          gcc version 3.3.2 20031022 (Gentoo Linux 3.3.2-r2, propolice)
OS:          Linux (i686) release 2.6.0-test9

On the website http://www.lawine.at/tirol/messstationen...1.html is a gif picture called  messstationen_map_new.gif
The location of this picture is: http://www.lawine.at/images/messstationen_map_new.gif

The html code which shows the picture is like: 
<img src="../images/messstationen_map_new.gif" width="407" height="197" usemap="#tirol" border="0"> (it's in a table).

Mozilla, Opera interpret this as http://www.lawine.at/images/messstationen_map_new.gif (the real location of this picture) and the picture is therefore shown 

Konqueror however (also 3.1.4) misinterpret the location as  http://homes.tiscover.com/project/images/messstationen_map_new.gif (wrong location) and therefore the picture is not shown (in this table are before a few references to http://homes.tiscover.com)
Comment 1 Stephan Kulow 2003-11-05 15:55:01 UTC
Now _that_'s a fun bug :)

Comment 2 Stephan Kulow 2003-11-05 19:57:36 UTC
Please tell the webmasters that there are standards made up for HTML writing ;(

Attaching a test case to show the problem: pure invalid HTML
Comment 3 Stephan Kulow 2003-11-05 19:58:38 UTC
Created attachment 3044 [details]
test case
Comment 4 Daniel Arnold 2005-02-25 22:53:01 UTC
I can still reproduce this bug with Konqueror on KDE 3.3.2a
Comment 5 Maksim Orlovich 2006-01-30 06:33:40 UTC
*** Bug 117231 has been marked as a duplicate of this bug. ***
Comment 6 Allan Sandfeld 2006-06-16 14:16:32 UTC
Fixed for KDE 3.5.4
Comment 7 Allan Sandfeld 2006-06-19 01:06:16 UTC
I am going to pull my fix. At least until further investigation. 

It seems Firefox supports multiple BASE elements. They are all moved up to the header where they belong, but are only applied to the relative paths _after_ the original position. I suspect Firefox for the same reason is not capable of supporting Javascript created BASE elements.

Konqueror like Firefox moves them to the header, but then _acts_ like the BASE was in the header to begin with and applies it all elements.
Comment 8 Anne-Marie Mahfouf 2008-04-06 10:02:38 UTC
Attach a new test case as the previous image one seems to no longer exist. annma on konq-bugs-day
Comment 9 Anne-Marie Mahfouf 2008-04-06 10:03:46 UTC
Created attachment 24230 [details]
test-case

test case with valid url
Comment 10 Samuel Brack 2011-01-08 16:21:00 UTC
Confirmed in 4.5.4. I attach a new testcase since the referenced image in comment 9 is no longer available.
Comment 11 Samuel Brack 2011-01-08 16:22:10 UTC
Created attachment 55735 [details]
testcase with a new image
Comment 12 Justin Zobel 2021-03-21 00:25:21 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 13 Christoph Cullmann 2024-05-06 20:48:56 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann