Bug 85560 - Follow link security check not made when opening link in new window or tab
Summary: Follow link security check not made when opening link in new window or tab
Status: REOPENED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.10.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 15:22 UTC by Martin Koller
Modified: 2013-02-07 21:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Sample test case (209 bytes, text/html)
2012-08-01 14:00 UTC, Dawit Alemayehu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2004-07-20 15:22:05 UTC
Version:           3.2.92 (using KDE 3.2.92 (3.3 beta2), compiled sources)
Compiler:          gcc version 3.2.3
OS:                Linux (i686) release 2.4.22

When left-clicking on a link with a remote file:// URL I get a Security Warning dialog saying
"This untrusted page links to
file://eis2k214/some/path/Unbenannt.bmp.
Do you want to follow the link?"

but when I right-click on that link and select open in new tab or window, I don't get this warning dialog.

For me it's not really a security problem, but at least it is inconsistent.
Comment 1 Jaime Torres 2008-07-26 13:06:55 UTC
Still present in 4.1.60 svn trunk 831729.
The warning is only present with the left click over the link.

sample test with a simple html in a webserver:

<a href="file://whatever">file://whatever</a>

Comment 2 Jonathan Marten 2009-04-22 15:41:41 UTC
The same applies where the link leads to an unusual file type (e.g. a PDF document).  Left click puts up a box with "Open <link>? Type: mimetype [Save As] [Open with] [Cancel]".  So does Ctrl-left click to open in a new tab.  But Menu-Open in New Window or Menu-Open in New Tab do not, they just open the file immediately.
Comment 3 Martin Koller 2012-01-29 14:58:02 UTC
Still reproducible with KDE 4.8.0
Comment 4 Janek Bevendorff 2012-06-18 17:26:46 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.
Comment 5 Janek Bevendorff 2012-06-18 19:08:52 UTC
Closed by accident. Updated the version field to latest version where this bug is reproducible as of comment #3.
Comment 6 Dawit Alemayehu 2012-08-01 14:00:44 UTC
Created attachment 72875 [details]
Sample test case