From de73d5363607200ba207f0c21d74e0cb89b5d66f Mon Sep 17 00:00:00 2001 From: mentha Date: Wed, 23 Sep 2020 16:03:14 +0800 Subject: [PATCH] =?utf8?q?Fix=20#462=20DNS=20leak=20when=20=E2=80=9Cdownlo?= =?utf8?q?ading=20over=20tor=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- torbrowser_launcher/launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torbrowser_launcher/launcher.py b/torbrowser_launcher/launcher.py index efcd1c8..77b0ecd 100644 --- a/torbrowser_launcher/launcher.py +++ b/torbrowser_launcher/launcher.py @@ -489,7 +489,7 @@ class DownloadThread(QtCore.QThread): # Use tor socks5 proxy, if enabled if self.common.settings['download_over_tor']: - socks5_address = 'socks5://{}'.format(self.common.settings['tor_socks_address']) + socks5_address = 'socks5h://{}'.format(self.common.settings['tor_socks_address']) self.proxies = { 'https': socks5_address, 'http': socks5_address -- 2.44.0