Bug 74766

Summary: Javascript detection of Cookies doesn't work
Product: [Applications] konqueror Reporter: Shaya Potter <spotter>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: washingtonpost.com's cookie-testing code

Description Shaya Potter 2004-02-09 21:45:06 UTC
Version:           3.2.0-rc1 (using KDE KDE 3.1.94)
Installed from:    Debian testing/unstable Packages
OS:          Linux

If one goes to http://www.hertz.com in Konqueror (using the unstable Debian rc1 debs) I get the "cookies disabled" error page.  Same thing if I try to login to washingtonpost.com

both of these seems to do a javascript test for cookies which fails.

I tried switching browsers identifications, but it didn't make a difference.
Comment 1 Shaya Potter 2004-02-10 00:27:53 UTC
more specific comments.

what hertz is doing is

<script language="JavaScript">
document.cookie="cookieson=yes";
if (document.cookie.indexOf("cookieson=yes") == -1)
{
        document.location="/cookiemessage.html";
}

and I get redirected to that page, making the site unusable.
Comment 2 Maksim Orlovich 2004-02-10 00:29:17 UTC
Should be fixed in 3.2 final

*** This bug has been marked as a duplicate of 72941 ***
Comment 3 Luke 2004-06-22 18:28:39 UTC
Created attachment 6442 [details]
washingtonpost.com's cookie-testing code
Comment 4 Luke 2004-06-22 18:30:13 UTC
I'm suddenly seeing this problem again at washingtonpost.com. I've attached what I believe to be the problem code.