summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/url/ChangeLog5
-rw-r--r--lisp/url/url-http.el3
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 14aaa4bf113..4f49adcd932 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
+
+ * url-http.el (url-http-parse-headers): When redirecting, pass on
+ the `inhibit-cookie' parameter.
+
2012-02-10 Glenn Morris <rgm@gnu.org>
* url-queue.el (url-queue-retrieve): Fic previous doc fix.
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 6653176d7e9..00bb712c88f 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -647,7 +647,8 @@ should be shown to the user."
(url-retrieve-internal
redirect-uri url-callback-function
url-callback-arguments
- (url-silent url-current-object)))
+ (url-silent url-current-object)
+ (not (url-use-cookies url))))
(url-mark-buffer-as-dead buffer))
;; We hit url-max-redirections, so issue an error and
;; stop redirecting.