* url.el cookie policy
@ 2011-11-03 22:06 Lars Magne Ingebrigtsen
2011-11-03 22:39 ` Antoine Levitt
0 siblings, 1 reply; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2011-11-03 22:06 UTC (permalink / raw)
To: emacs-devel; +Cc: ding
I just discovered that Gnus has been setting (and returning) cookies for
the images that it fetches via `url-retrieve' and friends. While this
is no catastrophe, it's probably not an information/tracking thing that
people would expect to happen when reading stuff via Gnus, I think.
However, switching this behaviour off in Gnus appears to be kinda
tricky. Since `url-retrieve' (and friends) are asynchronous, and they
create new buffers, neither binding `url-cookie-untrusted-urls' to
`(".*")', nor setting it buffer-locally does the trick.
So I would suggest changing the default for `url-cookie-untrusted-urls'
to `(".*")' for Emacs 24.1, and then reworking the `url-retrieve'
interface (as previously discussed), and then let it take the cookie
setting thing as a parameter.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: url.el cookie policy
2011-11-03 22:06 url.el cookie policy Lars Magne Ingebrigtsen
@ 2011-11-03 22:39 ` Antoine Levitt
0 siblings, 0 replies; 2+ messages in thread
From: Antoine Levitt @ 2011-11-03 22:39 UTC (permalink / raw)
To: emacs-devel; +Cc: ding
03/11/11 23:06, Lars Magne Ingebrigtsen
> I just discovered that Gnus has been setting (and returning) cookies for
> the images that it fetches via `url-retrieve' and friends. While this
> is no catastrophe, it's probably not an information/tracking thing that
> people would expect to happen when reading stuff via Gnus, I think.
>
> However, switching this behaviour off in Gnus appears to be kinda
> tricky. Since `url-retrieve' (and friends) are asynchronous, and they
> create new buffers, neither binding `url-cookie-untrusted-urls' to
> `(".*")', nor setting it buffer-locally does the trick.
>
> So I would suggest changing the default for `url-cookie-untrusted-urls'
> to `(".*")' for Emacs 24.1, and then reworking the `url-retrieve'
> interface (as previously discussed), and then let it take the cookie
> setting thing as a parameter.
I've been annoyed from time to time by "saving cookies to
~/.emacs.d/url/cookies..." messages. I set url-cookie-file to nil, but
that didn't seem to change anything.
I agree that url should ignore cookies by default. I'd be amazed if
anyone had any use for them in gnus.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-11-03 22:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 22:06 url.el cookie policy Lars Magne Ingebrigtsen
2011-11-03 22:39 ` Antoine Levitt
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).