From 3b8eb822d940b9aae0c3792f00882b643749e1cd Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Fri, 10 Feb 2012 18:25:31 +0100 Subject: [PATCH] Cookie/redirection URL fixup (url-http-parse-headers): When redirecting, pass on the `inhibit-cookie' parameter. --- lisp/url/ChangeLog | 5 +++++ lisp/url/url-http.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 + + * url-http.el (url-http-parse-headers): When redirecting, pass on + the `inhibit-cookie' parameter. + 2012-02-10 Glenn Morris * 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. -- 2.39.2