Bug 74766 - Javascript detection of Cookies doesn't work
Summary: Javascript detection of Cookies doesn't work
Status: RESOLVED DUPLICATE of bug 72941
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 21:45 UTC by Shaya Potter
Modified: 2004-06-22 18:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
washingtonpost.com's cookie-testing code (49.91 KB, text/plain)
2004-06-22 18:28 UTC, Luke
Details

Note You need to log in before you can comment on or make changes to this bug.
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.