1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

* url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)

This commit is contained in:
Michael Albinus 2010-07-25 13:36:02 +02:00
parent b196eafc46
commit 4ac3a65cf1
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-07-25 Michael Albinus <michael.albinus@gmx.de>
* url-http (url-http-parse-headers): Disable Tramp. (Bug#6717)
2010-06-12 Štěpán Němec <stepnem@gmail.com> (tiny change)
* url-vars.el (url-privacy-level): Fix doc typo. (Bug#6406)

View File

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