--- Begin Message ---
- To: emacs-devel@gnu.org
- Subject: url-cookie.el: Minor patch for handling trusted sites:
- From: "T. V. Raman" <raman@users.sf.net>
- Date: Fri, 27 Apr 2007 06:15:28 -0700
- Cc: Magnus Henoch <mange@freemail.hu>
- List-archive: <http://lists.gnu.org/pipermail/emacs-devel>
- List-help: <mailto:emacs-devel-request@gnu.org?subject=help>
- List-id: "Emacs development discussions." <emacs-devel.gnu.org>
- List-post: <mailto:emacs-devel@gnu.org>
- List-subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=subscribe>
- List-unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
- Reply-to: raman@users.sf.net
- Sender: emacs-devel-bounces+tvraman=comcast.net@gnu.org
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 _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel -- 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 ----------------------------------------------------------------------------- To unsubscribe from the emacspeak list or change your address on the emacspeak list send mail to "emacspeak-request@cs.vassar.edu" with a subject of "unsubscribe" or "help"
--- End Message ---
If you have questions about this archive or had problems using it, please send mail to:
priestdo@cs.vassar.edu No Soliciting!Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998