]> git.eshelyaron.com Git - emacs.git/commitdiff
Cookie/redirection URL fixup
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 10 Feb 2012 17:25:31 +0000 (18:25 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 10 Feb 2012 17:25:31 +0000 (18:25 +0100)
(url-http-parse-headers): When redirecting, pass on
the `inhibit-cookie' parameter.

lisp/url/ChangeLog
lisp/url/url-http.el

index 14aaa4bf113f65cce2fc893c3b291cc70d3a96fd..4f49adcd932d16d88628c5a9d9218e4dd6256648 100644 (file)
@@ -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.
index 6653176d7e9a77e99f8615a58cae65b3fb7eb630..00bb712c88f3ff6eac779f80cf94ed22381acf4f 100644 (file)
@@ -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.