From 89a9ce2ab4520c39148a83d66f1fc553612f64d3 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 1 Oct 2013 09:14:07 +0200 Subject: [PATCH] fix another http leak --- gui/qt/version_getter.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/qt/version_getter.py b/gui/qt/version_getter.py index 07655fdb0..855f2795c 100644 --- a/gui/qt/version_getter.py +++ b/gui/qt/version_getter.py @@ -54,6 +54,9 @@ class UpdateLabel(QLabel): self.config = config self.current_version = ELECTRUM_VERSION self.connect(self, QtCore.SIGNAL('new_electrum_version'), self.new_electrum_version) + # prevent HTTP leaks if a proxy is set + if self.config.get('proxy'): + return VersionGetter(self).start() def callback(self, version):