tuse https for aliases - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 8fd1dbadf65c8a4b837f73f40b1e1e53a36b8a80 (DIR) parent ae991f4407f444e918d4d91cc4baeb9dc53f8c72 (HTM) Author: thomasv <thomasv@gitorious> Date: Mon, 1 Oct 2012 15:10:51 +0200 use https for aliases Diffstat: M lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/lib/wallet.py b/lib/wallet.py t@@ -969,9 +969,9 @@ class Wallet: m1 = re.match('([\w\-\.]+)@((\w[\w\-]+\.)+[\w\-]+)', alias) m2 = re.match('((\w[\w\-]+\.)+[\w\-]+)', alias) if m1: - url = 'http://' + m1.group(2) + '/bitcoin.id/' + m1.group(1) + url = 'https://' + m1.group(2) + '/bitcoin.id/' + m1.group(1) elif m2: - url = 'http://' + alias + '/bitcoin.id' + url = 'https://' + alias + '/bitcoin.id' else: return '' try: