emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Priority of url-cookie-trusted-urls vs url-cookie-untrusted-urls


From: Stefan Monnier
Subject: Re: Priority of url-cookie-trusted-urls vs url-cookie-untrusted-urls
Date: Fri, 31 Jul 2020 11:12:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]