unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "T.V Raman" <raman@google.com>
To: emacs-devel@gnu.org
Subject: Priority of url-cookie-trusted-urls vs url-cookie-untrusted-urls
Date: Fri, 31 Jul 2020 07:48:09 -0700 (PDT)	[thread overview]
Message-ID: <20200731144809.6E89CC21C82@raman-glaptop.localdomain> (raw)

The URL package has these two custom settings:

url-cookie-trusted-urls
url-cookie-untrusted-urls

both take a list of regex.

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?

-- 

-- 



             reply	other threads:[~2020-07-31 14:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-31 14:48 T.V Raman [this message]
2020-07-31 14:54 ` Priority of url-cookie-trusted-urls vs url-cookie-untrusted-urls Andreas Schwab
2020-07-31 15:00   ` T.V Raman
2020-07-31 15:12   ` Stefan Monnier
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200731144809.6E89CC21C82@raman-glaptop.localdomain \
    --to=raman@google.com \
    --cc=emacs-devel@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).