* url-http (url-http-parse-headers): Disable file name handlers at

all (not only Tramp).  (Bug#6717)
This commit is contained in:
Michael Albinus 2010-07-26 15:19:32 +02:00
parent a2a0d36b5b
commit c48763bb79
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2010-07-26 Michael Albinus <michael.albinus@gmx.de>
* url-http (url-http-parse-headers): Disable file name handlers at
all (not only Tramp). (Bug#6717)
2010-07-25 Michael Albinus <michael.albinus@gmx.de>
* url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)

View file

@ -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)