pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Fabio <banifabio@tiscali.it>
To: pgsql-general@postgresql.org
Subject: Re: Cross-site cookies warnings
Date: Wed, 15 Jul 2020 07:27:48 -0700
Message-ID: <e771e4c0-4b91-ac6e-76a4-365cb73a0768@aklaver.com> (raw )
In-Reply-To: <ed59ee71-4eb4-1e4e-f5a5-1bdfae468737@tiscali.it >
References: <ed59ee71-4eb4-1e4e-f5a5-1bdfae468737@tiscali.it >
On 7/15/20 2:34 AM, Fabio wrote:
> I'm using python 3.7.4, django 3.0.6, javascript, Postgres 12.3.1
> pgadmin 4.21 windows7. When my page loads on the console there are these
> warnings:
>
> |Cookie“PGADMIN_KEY”will be soon treated ascross-site cookie against
> “http://127.0.0.1:8000/lists/list-name/” because the scheme does not
> match. list-nameCookie“PGADMIN_LANGUAGE”will be soon treated
> ascross-site cookie against “http://127.0.0.1:8000/lists/list-name/”
> because the scheme does not match. list-nameCookie“PGADMIN_KEY”will be
> soon treated ascross-site cookie against
> “http://127.0.0.1:8000/lists/list-name/” because the scheme does not
> match. list-nameCookie“PGADMIN_LANGUAGE”will be soon treated
> ascross-site cookie against “http://127.0.0.1:8000/lists/list-name/”
> because the scheme does not match. list-nameCookie“PGADMIN_KEY”will be
> soon treated ascross-site cookie against
> “http://127.0.0.1:8000/static/lists/js/lists.js” because the scheme does
> not match. lists.jsCookie“PGADMIN_LANGUAGE”will be soon treated
> ascross-site cookie against
> “http://127.0.0.1:8000/static/lists/js/lists.js” because the scheme does
> not match. lists.jsCookie“PGADMIN_KEY”will be soon treated ascross-site
> cookie against “http://127.0.0.1:8000/jsi18n/” because the scheme does
> not match. jsi18nCookie“PGADMIN_LANGUAGE”will be soon treated
> ascross-site cookie against “http://127.0.0.1:8000/jsi18n/” because the
> scheme does not match. jsi18nCookie“PGADMIN_KEY”will be soon treated
> ascross-site cookie against “http://127.0.0.1:8000/static/js/common.js”
> because the scheme does not match. common.jsCookie“PGADMIN_LANGUAGE”will
> be soon treated ascross-site cookie against
> “http://127.0.0.1:8000/static/js/common.js” because the scheme does not
> match. common.jsCookie“PGADMIN_KEY”will be soon treated ascross-site
> cookie against “http://127.0.0.1:8000/static/icons/favicon.png” because
> the scheme does not match. favicon.pngCookie“PGADMIN_LANGUAGE”will be
> soon treated ascross-site cookie against
> “http://127.0.0.1:8000/static/icons/favicon.png” because the scheme does
> not match. favicon.png |They should come from thenew policy about cookies <https://blog.chromium.org/2019/10/developers-get-ready-for-new.html ;. The problem is|PGADMIN_KEY| and|PGADMIN_LANGUAGE| are cookies of PGAdmin and I don't use
> them explicitly (I mean evidently the database himself use them but
> in my code they don't appear). Is this a bug of pgadmin?
As I said in my SO comment pgAdmin != Postgres and the database is not
setting these. These are cookies set when you use pgAdmin. If you want
this dealt with file an issue here:
https://redmine.postgresql.org/projects/pgadmin4/issues .
>
>
> Then I upgraded to pgadmin 4.23 and now I have only these warnings:
>
>
> Cookie “PGADMIN_KEY” will be soon treated as cross-site cookie against
> “http://127.0.0.1:8000/lists/list-name/” because the scheme does not
> match. 2 list-name <http://127.0.0.1:8000/lists/list-name/ ;
>
> Cookie “PGADMIN_KEY” will be soon treated as cross-site cookie against
> “http://127.0.0.1:8000/jsi18n/” because the scheme does not match.
> jsi18n <http://127.0.0.1:8000/jsi18n/ ;
>
> Cookie “PGADMIN_KEY” will be soon treated as cross-site cookie against
> “http://127.0.0.1:8000/static/js/common.js” because the scheme does not
> match. common.js <http://127.0.0.1:8000/static/js/common.js ;
>
> Cookie “PGADMIN_KEY” will be soon treated as cross-site cookie against
> “http://127.0.0.1:8000/static/lists/js/lists.js” because the scheme does
> not match. lists.js <http://127.0.0.1:8000/static/lists/js/lists.js ;
>
> Cookie “PGADMIN_KEY” will be soon treated as cross-site cookie against
> “http://127.0.0.1:8000/static/icons/favicon.png” because the scheme does
> not match. favicon.png <http://127.0.0.1:8000/static/icons/favicon.png ;
>
> Also I see a new cookie (PGADMIN_INT_KEY) but it doesn't give problems.
> So there's some way to solve this problem or I just have to wait the new update?
>
> thank you
>
> ||
>
--
Adrian Klaver
adrian.klaver@aklaver.com
view thread (2+ messages)
Message-ID: <e771e4c0-4b91-ac6e-76a4-365cb73a0768@aklaver.com>
Permalink: ../e771e4c0-4b91-ac6e-76a4-365cb73a0768@aklaver.com/
Also on: postgresql.org/message-id/e771e4c0-4b91-ac6e-76a4-365cb73a0768@aklaver.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, banifabio@tiscali.it
Subject: Re: Cross-site cookies warnings
In-Reply-To: <e771e4c0-4b91-ac6e-76a4-365cb73a0768@aklaver.com>
References: <ed59ee71-4eb4-1e4e-f5a5-1bdfae468737@tiscali.it> <e771e4c0-4b91-ac6e-76a4-365cb73a0768@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox