[WebKit-devel] [Bug 287678] kwebkitpart forgets login after opening new tab on some websites

Dawit Alemayehu adawit at kde.org
Wed Nov 30 17:14:23 UTC 2011


https://bugs.kde.org/show_bug.cgi?id=287678


Dawit Alemayehu <adawit at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adawit at kde.org




--- Comment #1 from Dawit Alemayehu <adawit kde org>  2011-11-30 17:14:23 ---
This is not a bug. It is one of those unfortunate issues of sites setup to
serve both "http" and "https" access to the same resource. This can easily be
duplicated here in KDE bugzilla as well. I can visit this very bug report with
the following two urls:

http://bugs.kde.org/show_bug.cgi?id=287689
https://bugs.kde.org/show_bug.cgi?id=287689 (SSL)

Unless the site explicitly requests it (which almost never happens), the
cookies received from the second "secure" URL will never be sent back when you
visit the first URL even though the addresses are the same. This is done to
protect secure cookies from being transmitted in non-secure manner. 

I am almost certain that is the issue you are encountering here. If you simply
change the protocol of the URL of the newly opened tab to "https" instead of
"http", it fixes the problem, right ? If it does, then the way to resolve this
issue is to first login to the site before you start opening new threads so you
won't into this issue.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the WebKit-devel mailing list