Mercurial > emacs
diff lisp/url/url-http.el @ 109346:f573d4ab76a4
* url-http (url-http-parse-headers): Disable file name handlers at
all (not only Tramp). (Bug#6717)
author | Michael Albinus <albinus@detlef> |
---|---|
date | Mon, 26 Jul 2010 15:19:32 +0200 |
parents | 0c382ec288f1 |
children | a4b9fa0b861b 376148b31b5e |
line wrap: on
line diff
--- a/lisp/url/url-http.el Mon Jul 26 01:56:56 2010 +0200 +++ b/lisp/url/url-http.el Mon Jul 26 15:19:32 2010 +0200 @@ -437,8 +437,9 @@ (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)