Bug 120157 - [site-issue] window.location.href in onclick of link prevents following it
Summary: [site-issue] window.location.href in onclick of link prevents following it
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 3.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-15 10:56 UTC by Juan Besada
Modified: 2012-06-18 17:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
simple testcase for this bug (361 bytes, text/html)
2008-04-05 22:22 UTC, Martin Fitzpatrick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juan Besada 2006-01-15 10:56:33 UTC
Version:           3.5 (using KDE 3.5.0, Kubuntu Package 4:3.5.0-0ubuntu0breezy1 breezy)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.12-10-686

http://www.clubmeganeii.com/modules.php?name=Forums is a forum. With Konqueror you could navigate its subforums, entering its sections, but when you try to enter a given post, it will not be able. 

It will open correctly if you open it in another tab (middle click), but not in the current one (left click).

I do not know if this same problem is preventing me for entering mi on-line bank.

Thank you for the great work. I was a gnome convert three years ago. Now I think I am a KDE convert back ;-). And I am enjoying konqueror quite much.
Comment 1 Philip Rodrigues 2006-09-23 14:12:03 UTC
Seems to need a login account. Can you create a test account so the developers can try it?
Comment 2 Martin Fitzpatrick 2007-01-07 17:51:47 UTC
Confirmed KDE 3.5.5, Kubuntu 6.10.  Created test account using kdebug/kdebug as username/password.

Page contains some strange HTML markup, a non-working link block marked up with the following...

<td class="row3" width="100%" onMouseOver=this.style.backgroundColor="#DFE6EF" onMouseOut=this.style.backgroundColor=""  onclick="window.location.href=''"><span class="topictitle"><a href="modules.php?name=Forums&file=viewtopic&t=134&amp;sid=c699886e3cdbdb2fb91763844f6c3863" class="topictitle">Problemas MAS frecuentes.</a></span><span class="gensmall"><br /></span></td>

Notice the onclick="window.location.href=''" which is possibly the root of the problem. Unclear what the intended behaviour of this Javascript actually is.
Comment 3 Martin Fitzpatrick 2008-04-05 22:22:39 UTC
Created attachment 24207 [details]
simple testcase for this bug

Confirmed this 'bug' still exists on 4.0.3. Using given test case click on the
link: FF will take you to the bko site, while Konq does nothing.

Having said that, the markup is atrocious.
Comment 4 Maksim Orlovich 2008-04-05 23:23:36 UTC
Closely related to #159932.... Thanks for the testcase --- I wouldn't have thought about this case.
Comment 5 Jaime Torres 2008-05-16 18:18:05 UTC
I can reproduce it in trunk 20080507.
Comment 6 Janek Bevendorff 2012-06-18 17:28:23 UTC
Message from the Bugsquad and Konqueror teams: This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore. If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report. Thank you for your understanding.