emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107234: Cookie/redirection URL fixup


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107234: Cookie/redirection URL fixup
Date: Fri, 10 Feb 2012 18:25:31 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107234
committer: Lars Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Fri 2012-02-10 18:25:31 +0100
message:
  Cookie/redirection URL fixup
  
  (url-http-parse-headers): When redirecting, pass on
  the `inhibit-cookie' parameter.
modified:
  lisp/url/ChangeLog
  lisp/url/url-http.el
=== modified file 'lisp/url/ChangeLog'
--- a/lisp/url/ChangeLog        2012-02-10 17:22:09 +0000
+++ b/lisp/url/ChangeLog        2012-02-10 17:25:31 +0000
@@ -1,3 +1,8 @@
+2012-02-10  Lars Ingebrigtsen  <address@hidden>
+
+       * url-http.el (url-http-parse-headers): When redirecting, pass on
+       the `inhibit-cookie' parameter.
+
 2012-02-10  Glenn Morris  <address@hidden>
 
        * url-queue.el (url-queue-retrieve): Fic previous doc fix.

=== modified file 'lisp/url/url-http.el'
--- a/lisp/url/url-http.el      2012-02-10 11:36:42 +0000
+++ b/lisp/url/url-http.el      2012-02-10 17:25:31 +0000
@@ -647,7 +647,8 @@
                        (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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]