summaryrefslogtreecommitdiff
path: root/lisp/url/url-http.el
diff options
context:
space:
mode:
authorMichael Albinus <albinus@detlef>2010-07-25 13:36:02 +0200
committerMichael Albinus <albinus@detlef>2010-07-25 13:36:02 +0200
commit4ac3a65cf109e66549fea3d07202404ce4834ab6 (patch)
tree5261ca6da8bc74327dd2468d8d6a9f6c77061969 /lisp/url/url-http.el
parentb196eafc464a413db482c61560369d6196896523 (diff)
downloademacs-4ac3a65cf109e66549fea3d07202404ce4834ab6.tar.gz
* url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r--lisp/url/url-http.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 8c203c0eb87..b9aba9f37c9 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -435,7 +435,10 @@ should be shown to the user."
(delete-process url-http-process)))))
(let ((buffer (current-buffer))
(class nil)
- (success nil))
+ (success nil)
+ ;; The filename part of a URL could be in remote file syntax,
+ ;; see Bug#6717 for an example. We disable Tramp, therefore.
+ (tramp-mode nil))
(setq class (/ url-http-response-status 100))
(url-http-debug "Parsed HTTP headers: class=%d status=%d" class url-http-response-status)
(url-http-handle-cookies)