From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: emacs-devel@gnu.org, "T.V Raman" <raman@google.com>
Subject: Re: Priority of url-cookie-trusted-urls vs url-cookie-untrusted-urls
Date: Fri, 31 Jul 2020 11:12:50 -0400 [thread overview]
Message-ID: <jwvlfizen1r.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87d04b20qt.fsf@igel.home> (Andreas Schwab's message of "Fri, 31 Jul 2020 16:54:50 +0200")
>> From what I observe, if you set url-cookie-untrusted-urls to '(".*"),
>> then the setting in url-cookie-trusted-urls e.g. '("example.com") has
>> no effect. This makes it hard to set up emacs/eww to not trust any
>> domain, and then progressively allow a few domains to set cookies;
>> could the priority order of these settings be reversed?
>
> If you set url-cookie-untrusted-urls to ("") it will always be less
> specific than any match from url-cookie-trusted-urls.
IIUC which one takes precedence depends on the length of the
match, right? If so, the docstring should say so.
Stefan
next prev parent reply other threads:[~2020-07-31 15:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-31 14:48 Priority of url-cookie-trusted-urls vs url-cookie-untrusted-urls T.V Raman
2020-07-31 14:54 ` Andreas Schwab
2020-07-31 15:00 ` T.V Raman
2020-07-31 15:12 ` Stefan Monnier [this message]
2020-07-31 15:20 ` T.V Raman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvlfizen1r.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=raman@google.com \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.