all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#25518: 25.1.91; url-retrieve does not work with https over proxy
@ 2017-01-24 13:25 Andreas Schwab
  2017-01-24 20:33 ` David Engster
  2019-09-24  8:31 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Andreas Schwab @ 2017-01-24 13:25 UTC (permalink / raw)
  To: 25518

url-retrieve should use CONNECT when talking to a https URL over a proxy
and then talk over the connection as if not using a proxy.

;; use locally running privoxy as proxy
(setq url-proxy-services '(("https" . "localhost:8118")))
(with-current-buffer (url-retrieve-synchronously "https://www.heise.de")
  (buffer-string)) => "HTTP/1.1 200 Connection established\n\n"

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25518: 25.1.91; url-retrieve does not work with https over proxy
  2017-01-24 13:25 bug#25518: 25.1.91; url-retrieve does not work with https over proxy Andreas Schwab
@ 2017-01-24 20:33 ` David Engster
  2019-09-24  8:31 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: David Engster @ 2017-01-24 20:33 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 25518

Andreas Schwab writes:
> url-retrieve should use CONNECT when talking to a https URL over a proxy
> and then talk over the connection as if not using a proxy.
>
> ;; use locally running privoxy as proxy
> (setq url-proxy-services '(("https" . "localhost:8118")))
> (with-current-buffer (url-retrieve-synchronously "https://www.heise.de")
>   (buffer-string)) => "HTTP/1.1 200 Connection established\n\n"

Is this identical to #11788? If so, this is fixed only on master because
it was deemed too risky for emacs-25. I'm still of the opinion that this
is a serious security issue, because of the possible silent fallback to
http without the user noticing. I'm always running my Emacs with
3c623c26a manually backported.

-David





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#25518: 25.1.91; url-retrieve does not work with https over proxy
  2017-01-24 13:25 bug#25518: 25.1.91; url-retrieve does not work with https over proxy Andreas Schwab
  2017-01-24 20:33 ` David Engster
@ 2019-09-24  8:31 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2019-09-24  8:31 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: 25518

Andreas Schwab <schwab@linux-m68k.org> writes:

> url-retrieve should use CONNECT when talking to a https URL over a proxy
> and then talk over the connection as if not using a proxy.
>
> ;; use locally running privoxy as proxy
> (setq url-proxy-services '(("https" . "localhost:8118")))
> (with-current-buffer (url-retrieve-synchronously "https://www.heise.de")
>   (buffer-string)) => "HTTP/1.1 200 Connection established\n\n"

I tried this with tinyproxy and Emacs 27, and it worked for me, so I'm
guessing this has been fixed in the meantime, and I'm closing the bug
report.

Please reopen if this is still an issue.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-24  8:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 13:25 bug#25518: 25.1.91; url-retrieve does not work with https over proxy Andreas Schwab
2017-01-24 20:33 ` David Engster
2019-09-24  8:31 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.