From: Glenn Morris <rgm@gnu.org>
To: "Karol Hosiawa" <hosiawak@gmail.com>
Cc: 1401@emacsbugs.donarmstrong.com
Subject: bug#1401: 23.0.60; url-cookie-handle-set-cookie doesnt check for trusted urls
Date: Tue, 02 Dec 2008 15:56:16 -0500 [thread overview]
Message-ID: <wfk5aipa8f.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <577ed7ae0812021244u16eec55egaaf1d94628916ee7@mail.gmail.com> (Karol Hosiawa's message of "Tue, 2 Dec 2008 20:44:28 +0000")
"Karol Hosiawa" wrote:
> (url-cookie-host-can-set-p "images.google.nl" ".google.nl")
> nil
Yes, but
(url-cookie-host-can-set-p "images.google.com" ".google.com")
returns non-nil (because "com" is in url-cookie-two-dot-domains).
And so does:
(setq url-cookie-two-dot-domains "\\.nl\\'")
(url-cookie-host-can-set-p "images.google.nl" ".google.nl")
But having
(url-cookie-host-can-set-p "foo.co.uk" ".co.uk")
return non-nil would be bad.
It cetainly seems like this problem to me:
http://my.opera.com/yngve/blog/show.dml/267415
next prev parent reply other threads:[~2008-12-02 20:56 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 15:23 bug#1401: 23.0.60; url-cookie-handle-set-cookie doesnt check for trusted urls Karol Hosiawa
2008-12-02 8:26 ` Glenn Morris
2008-12-02 17:03 ` Karol Hosiawa
2008-12-02 19:12 ` Glenn Morris
2008-12-02 20:44 ` Karol Hosiawa
2008-12-02 20:56 ` Glenn Morris [this message]
2011-09-11 18:16 ` Lars Magne Ingebrigtsen
2011-09-12 17:52 ` Glenn Morris
2011-09-13 19:38 ` Lars Magne Ingebrigtsen
2011-09-13 21:20 ` Glenn Morris
2011-09-13 21:22 ` Lars Magne Ingebrigtsen
2011-09-13 21:33 ` Glenn Morris
2011-09-15 0:33 ` Lars Magne Ingebrigtsen
2011-09-15 1:24 ` Stefan Monnier
2011-09-15 5:42 ` Lars Magne Ingebrigtsen
2012-04-10 1:53 ` Lars Magne Ingebrigtsen
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=wfk5aipa8f.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=1401@emacsbugs.donarmstrong.com \
--cc=hosiawak@gmail.com \
/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).