From: Lars Ingebrigtsen Date: Fri, 10 Feb 2012 17:25:31 +0000 (+0100) Subject: Cookie/redirection URL fixup X-Git-Tag: emacs-pretest-24.0.94~187 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3b8eb822d940b9aae0c3792f00882b643749e1cd;p=emacs.git Cookie/redirection URL fixup (url-http-parse-headers): When redirecting, pass on the `inhibit-cookie' parameter. --- 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.