diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2012-02-10 18:25:31 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2012-02-10 18:25:31 +0100 |
commit | 3b8eb822d940b9aae0c3792f00882b643749e1cd (patch) | |
tree | cc6d341e7862fc401a23ea7bdbb9feb802d84fc7 /lisp/url/url-http.el | |
parent | a48ec60ca1e8df977b155e43e13199a7cb3e4685 (diff) | |
download | emacs-3b8eb822d940b9aae0c3792f00882b643749e1cd.tar.gz emacs-3b8eb822d940b9aae0c3792f00882b643749e1cd.tar.bz2 emacs-3b8eb822d940b9aae0c3792f00882b643749e1cd.zip |
Cookie/redirection URL fixup
(url-http-parse-headers): When redirecting, pass on
the `inhibit-cookie' parameter.
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r-- | lisp/url/url-http.el | 3 |
1 files changed, 2 insertions, 1 deletions
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. |