From: ShengHuo ZHU Date: Sat, 11 Dec 1999 19:46:13 +0000 (+0000) Subject: Require url-cookie. X-Git-Url: https://cgit.sxemacs.org/?a=commitdiff_plain;ds=sidebyside;h=e19ccfec6e2c9bcb80be2c71d41fa4fdf8629d1f;p=gnus Require url-cookie. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 08c48be2a..c8164506f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +1999-12-11 14:42:26 Shenghuo ZHU + + * webmail.el: Require url-cookie. + 1999-12-11 14:21:23 Shenghuo ZHU * nnwarchive.el (nnwarchive-make-caesar-translation-table): A diff --git a/lisp/webmail.el b/lisp/webmail.el index c49628bbe..6cc8f7cb5 100644 --- a/lisp/webmail.el +++ b/lisp/webmail.el @@ -24,18 +24,13 @@ ;;; Commentary: ;; Note: You need to have `url' and `w3' installed for this backend to -;; work. +;; work. `w3' must be 4.0pre46+one-line-cookie patch or standalone +;; `url'. ;; Todo: To support more web mail servers. ;; Known bugs: -;; 1. In w3, there are two copies of url-maybe-relative. -;; If it is loaded from w3.el, (load-library "url"). -;; Fixed in w3 4.0pre46. -;; 2. Hotmail only accept one line cookie, while w3 breaks cookies -;; into lines. -;; Maybe fixed in w3 4.0pre47+?. -;; 3. Net@ddress may corrupt `X-Face'. +;; 1. Net@ddress may corrupt `X-Face'. ;; Warning: ;; Webmail is an experimental function, which means NO WARRANTY. @@ -55,12 +50,14 @@ (ignore-errors (require 'w3) (require 'url) + (require 'url-cookie) (require 'w3-forms) (require 'nnweb))) ;; Report failure to find w3 at load time if appropriate. (eval '(progn (require 'w3) (require 'url) + (require 'url-cookie) (require 'w3-forms) (require 'nnweb))) @@ -71,7 +68,7 @@ ;; Hotmail hate other HTTP user agents and use one line cookie (paranoid agent cookie post) (address . "www.hotmail.com") - (open-url "http://www.hotmail.com") + (open-url "http://www.hotmail.com/") (open-snarf . webmail-hotmail-open) ;; W3 hate redirect POST (login-url @@ -85,7 +82,7 @@ (yahoo (paranoid cookie post) (address . "mail.yahoo.com") - (open-url "http://mail.yahoo.com") + (open-url "http://mail.yahoo.com/") (open-snarf . webmail-yahoo-open) (login-url;; yahoo will not accept GET content @@ -102,7 +99,7 @@ (netaddress (paranoid cookie post) (address . "www.netaddress.com") - (open-url "http://www.netaddress.com") + (open-url "http://www.netaddress.com/") (open-snarf . webmail-netaddress-open) (login-url;; yahoo will not accept GET content