From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 11726 invoked from network); 2 Nov 2020 08:02:04 -0000 Received: from hurricane.the-brannons.com (71.19.155.94) by inbox.vuxu.org with ESMTPUTF8; 2 Nov 2020 08:02:04 -0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by hurricane.the-brannons.com (Postfix) with ESMTP id D14C521DE03 for ; Mon, 2 Nov 2020 00:01:57 -0800 (PST) Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-07v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:39]) by hurricane.the-brannons.com (Postfix) with ESMTPS id AAC4F77ACB for ; Mon, 2 Nov 2020 00:01:57 -0800 (PST) Received: from resomta-ch2-01v.sys.comcast.net ([69.252.207.97]) by resqmta-ch2-07v.sys.comcast.net with ESMTP id ZUkmkgcobUyhhZUmqkUJld; Mon, 02 Nov 2020 08:01:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1604304116; bh=PV9cxwtdgRnXS3EkNZbHFncsyVNte1KMM/sLG/T6krE=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=cFI3lxTYIvfrpmVywOPGiyx9XFqu0nFhNJJ/ofdrIxDWv8Y8ghHDXkV12sAreUtuW DkBeVnlK6XAbZQ1d1KLFyZwYQLgwYeNoOK89oDkQAVhi8MHlDPuiqIa80+kTdKEBhj 1h6GLVy1n0Iw7rfKfekbOkh/Tm69hc73GIbWvAssfg2lryG7lsLL0CFiSG22fDEs5c KXr2D8QbPmWHQqySTH3ZLQmPdeOMdnAQgLPIGWVPC9i2LY1AB2tO84f/LC2aH9lz+C eHPIDDrO10V5+5fxpXjAhferdDqeYvaAaPEiwZg+MivhnyOjl2TpUQLxRrBY4fZgc1 l7MaW8rdgRpqg== Received: from unknown ([IPv6:2601:408:c300:a3d0::1121]) by resomta-ch2-01v.sys.comcast.net with ESMTPSA id ZUmikRMkhI5U8ZUmjkbHUI; Mon, 02 Nov 2020 08:01:49 +0000 X-Xfinity-VMeta: sc=0.00;st=legit To:edbrowse-dev@edbrowse.org From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.7.6 Subject: [edbrowse-dev] document.cookie is fucked up Date: Mon, 02 Nov 2020 03:01:48 -0500 Message-ID: <20201002030148.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Are you high? Are you completely baked? This is a problem when no one is checking everything I write. This has been wrong for years. It's a wonder websites worked as well as they did. edbrowse site1 site2 These should have cookies, or at least one of them anyways, they should present different cookies. In either session, e1 or e2, jump into jdb. document.cookie It will always show you the cookies of the second site, never the first. When the first site came up it had the right cookies, and maybe that's why a lot of things worked, then the second site has its cookies but then those are the cookies you get; always the last cookies. The stupid line of code, jseng-duk.c 1253 As though there is one copy of cookies across all sessions and windows of edbrowse. Now I have to think of a clever way to fix it, that isn't too gross. I found this while converting stuff to mozjs c++, it forces me to read through it again, and I got to that line and freaked out. Then I ran the test as above on two websites, and sure nuff. Karl Dahlke