]> git.lizzy.rs Git - torbrowser-launcher.git/commitdiff
Fix #462 DNS leak when “downloading over tor”
authormentha <mentha@users.noreply.github.com>
Wed, 23 Sep 2020 08:03:14 +0000 (16:03 +0800)
committerGitHub <noreply@github.com>
Wed, 23 Sep 2020 08:03:14 +0000 (16:03 +0800)
torbrowser_launcher/launcher.py

index efcd1c847861ef1eba89658114f2d85f0f6016b5..77b0ecd90e78c14308034d9ee36a7ede8a2a3f6e 100644 (file)
@@ -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