all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "T. V. Raman" <raman@users.sf.net>
To: emacs-devel@gnu.org
Cc: Magnus Henoch <mange@freemail.hu>
Subject: url-cookie.el: Minor patch for handling trusted sites:
Date: Fri, 27 Apr 2007 06:15:28 -0700	[thread overview]
Message-ID: <17969.63344.11101.358985@gargle.gargle.HOWL> (raw)



Here is a minor patch to url-cookie.el:

Description: Package url provides a user settable option
url-cookie-trusted-urls that specifies a list of trusted sites.

The function that is supposed to use this ---
url-cookie-handle-set-cookie  computes the "trustability" of a
set cookie action, but then omits to use what it computed.

This patch adds a check for that test.

diff url-cookie.el.orig  url-cookie.el
452c452,453
<      ((url-cookie-host-can-set-p (url-host url-current-object) domain)
---
>      ((or trusted
>           (url-cookie-host-can-set-p (url-host url-current-object) domain))
06:10:33 labrador url $ 


While in the neighborhood, could someone also look at function
url-cookie-host-can-set-p -- the test in that function for
checking whether a host is within a particular domain didn't make
much sense to me. 
 Thanks, 
 --Raman

-- 
Best Regards,
--raman

      
Email:  raman@users.sf.net
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@gmail.com
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs

             reply	other threads:[~2007-04-27 13:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-27 13:15 T. V. Raman [this message]
2007-04-30 22:09 ` url-cookie.el: Minor patch for handling trusted sites: Richard Stallman

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=17969.63344.11101.358985@gargle.gargle.HOWL \
    --to=raman@users.sf.net \
    --cc=emacs-devel@gnu.org \
    --cc=mange@freemail.hu \
    /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.