Bug 87361

Summary: kmail load URL in email twice
Product: [Applications] kmail Reporter: Alexander Wiedenbruch <wirr01>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: bigras.bruno, bugs, haenig
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Slackware   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexander Wiedenbruch 2004-08-17 14:43:24 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Slackware Packages
OS:                Linux

Hi,

KMail seems to load a URL in an email twice (perhaps a KIO problem).
This is bad behavior, because if there is a value (Hash, SessionID) in the URL that is erased at the server-side, the link is not vaild anymore. So when the link finally opens in Konqueror an error occurs.

This happened at berlios.de when I wanted to change the email adress.
But the server shows only that the value (which comes with the confirmation email, in a link) is not vaild.

The link was working in Konqueror when using a webmail account or just copying the link from KMail.

I also got a part from the server logfile: 

XXX.XXX.XXX.XXX - - [17/Aug/2004:14:00:52 +0200] "GET 
/account/change_email-complete.php?confirm_hash=d9df76d703422370 
HTTP/1.1" 200 13444 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux 
2.6.8.1) (KHTML, like Gecko)"
XXX.XXX.XXX.XXX - - [17/Aug/2004:14:00:53 +0200] "GET 
/account/change_email-complete.php?confirm_hash=d9df76d703422370 
HTTP/1.1" 200 13044 "-" "Mozilla/5.0 (compatible; Konqueror/3.2; Linux 
2.6.8.1) (KHTML, like Gecko)"
Comment 1 Michael Daum 2006-09-11 18:20:07 UTC
Also reported in http://bugs.kde.org/show_bug.cgi?id=126995
Comment 2 Albert Astals Cid 2006-10-28 17:57:32 UTC
*** Bug 126995 has been marked as a duplicate of this bug. ***
Comment 3 Philip Rodrigues 2006-11-01 18:30:06 UTC
As suggested in bug 126995, I suppose this is a limitation in the kio layer. Does it make sense to reassign it there?
Comment 4 Bruno Bigras 2009-08-26 03:15:59 UTC
I can't replicate this bug with kmail 1.12.0 (KDE 4.3) and with trunk. I only see one entry in my apache log when I open a link from kmail.

Is someone able to replicate it?
Comment 5 Thomas Haenig 2009-12-09 15:12:10 UTC
I am able to confirm the mentioned behaviour for KMail 1.9.10 (KDE 3.5.10 in OpenSuSE 11.1)

every single click onto a contained link produces 2 entries in Apache's access_log like these:

192.168.0.1 - - [09/Dec/2009:14:52:21 +0100] "GET /test/portal.php?id=2&code=0815 HTTP/1.1" 200 1488 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE"
192.168.0.1 - - [09/Dec/2009:14:52:21 +0100] "GET /test/portal.php?id=2&code=0815 HTTP/1.1" 200 1488 "-" "Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE"

for me it looks like "Bug 39268 -  khtml: doubled POST method" only here it is 'GET' and KMail.
Comment 6 Bruno Bigras 2009-12-09 15:42:08 UTC
(In reply to comment #5)
> I am able to confirm the mentioned behaviour for KMail 1.9.10 (KDE 3.5.10 in
> OpenSuSE 11.1)

Thanks for taking the time to report this, unfortunately we do not support KDE 3.5 anymore.

I am closing this bug for now. We will reopen if someone is able to reproduce with KDE 4.