aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/url
diff options
context:
space:
mode:
authorMichael Albinus <albinus@detlef>2010-07-26 15:19:32 +0200
committerMichael Albinus <albinus@detlef>2010-07-26 15:19:32 +0200
commitc48763bb7905a61e2fbd55db105b076fd4a06588 (patch)
tree40fc12fe312123fe703fddd25d1dd06e99d74d60 /lisp/url
parenta2a0d36b5b01118f36ce52c198148fbe308878fe (diff)
* url-http (url-http-parse-headers): Disable file name handlers at
all (not only Tramp). (Bug#6717)
Diffstat (limited to 'lisp/url')
-rw-r--r--lisp/url/ChangeLog5
-rw-r--r--lisp/url/url-http.el5
2 files changed, 8 insertions, 2 deletions
diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog
index 8fe26f5883..f7babefc87 100644
--- a/lisp/url/ChangeLog
+++ b/lisp/url/ChangeLog
@@ -1,3 +1,8 @@
+2010-07-26 Michael Albinus <[email protected]>
+
+ * url-http (url-http-parse-headers): Disable file name handlers at
+ all (not only Tramp). (Bug#6717)
+
2010-07-25 Michael Albinus <[email protected]>
* url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index b9aba9f37c..00cfa46ea1 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -437,8 +437,9 @@ should be shown to the user."
(class 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))
+ ;; see Bug#6717 for an example. We disable file name
+ ;; handlers, therefore.
+ (file-name-handler-alist 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)