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

[url-cookie.el: Minor patch for handling trusted sites:]



--- Begin Message ---

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@xxxxxxxxxxx
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs


_______________________________________________
Emacs-devel mailing list
Emacs-devel@xxxxxxxxxxx
http://lists.gnu.org/mailman/listinfo/emacs-devel

-- 
Best Regards,
--raman

      
Email:  raman@xxxxxxxxxxx
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: tv.raman.tv@xxxxxxxxxxx
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@xxxxxxxxxxx" 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@xxxxxxxxxxx No Soliciting!

Emacspeak List Archive | 2007 | 2006 | 2005 | 2004 | 2003 | 2002 | 2001 | 2000 | 1999 | 1998 | Pre 1998

Emacspeak Files | Emacspeak Blog