Bug 139416

Summary: HTML link target in status bar not fully shown for base tags
Product: [Applications] kmail Reporter: Brian DeRocher <brian>
Component: messageviewerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 1.9.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.1
Attachments: base email demo

Description Brian DeRocher 2006-12-30 23:16:12 UTC
Version:           1.9.5 (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages

In an email with Content-type: text/html, i have this

<html>
	<head>
		<base href='http://brian.derocher.org' />
	</head>
	<body>
		<p>
<a href='?Page=article&amp;Id=2151'>Minor Author Changes to TrickleUp</a>
		</p>
	</body>
</html>

The status bar shows a local target.  Clicking on the link works correctly.
Comment 1 Brian DeRocher 2006-12-31 22:13:33 UTC
Also, the security message 
   Note: This HTML message may contain external references
   to images etc. For security/privacy reasons external
   references are not loaded. If you trust the sender of
   this message then you can load the external references
   for this message by clicking here."
is not displayed.
Comment 2 Thomas McGuire 2007-06-05 21:49:46 UTC
Can you please attach the complete message?
Comment 3 Brian DeRocher 2007-06-05 22:33:00 UTC
Created attachment 20785 [details]
base email demo

Blog comment moderation via email.  The ticket value has been altered.	Overall
length was maintained.	I understand from other bug reports that POSTs via
kmail will not work.  This bug is just about the status bar.
Comment 4 Thomas McGuire 2007-06-07 17:54:38 UTC
I can reproduce the wrong link target in the statusbar. BTW, this works fine in Konqueror.

I can not reproduce the external references message not being shown, that works for me.
Comment 5 Brian DeRocher 2007-06-07 18:38:46 UTC
Yes, the external references message now works.  Maybe a recent upgrade fixed that.
Comment 6 Laurent Montel 2012-08-15 18:00:47 UTC
Git commit bded18c28892e50739a9e32b9f281990ea9c0c91 by Montel Laurent.
Committed on 15/08/2012 at 19:56.
Pushed by mlaurent into branch 'KDE/4.9'.

Fix Bug 139416 - HTML link target in status bar not fully shown for base

tags

We reacreate html source but didn't readd base tag in head => it broke
mail

(a bug created 6 years ago...)

FIXED-IN: 4.9.1

M  +2    -0    messageviewer/filehtmlwriter.cpp
M  +1    -1    messageviewer/filehtmlwriter.h
M  +6    -3    messageviewer/htmlquotecolorer.cpp
M  +1    -1    messageviewer/htmlquotecolorer.h
M  +2    -0    messageviewer/interfaces/htmlwriter.h
M  +3    -1    messageviewer/objecttreeparser.cpp
M  +1    -1    messageviewer/teehtmlwriter.cpp
M  +1    -0    messageviewer/teehtmlwriter.h
M  +1    -1    messageviewer/tests/util.h
M  +17   -0    messageviewer/webkitparthtmlwriter.cpp
M  +3    -1    messageviewer/webkitparthtmlwriter.h

http://commits.kde.org/kdepim/bded18c28892e50739a9e32b9f281990ea9c0c91