From 28e9402033aa53f7a39a40e62cd332d2df6014ba Mon Sep 17 00:00:00 2001 From: J-8 Date: Sun, 2 Aug 2015 17:08:56 +0200 Subject: Fix for issue #1654 Replaced HTTP with HTTPS in order not to reveal user credentials. --- module/plugins/accounts/ShareonlineBiz.py | 2 +- module/plugins/hoster/ShareonlineBiz.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins') diff --git a/module/plugins/accounts/ShareonlineBiz.py b/module/plugins/accounts/ShareonlineBiz.py index a1045bbe7..28b2b0c68 100644 --- a/module/plugins/accounts/ShareonlineBiz.py +++ b/module/plugins/accounts/ShareonlineBiz.py @@ -17,7 +17,7 @@ class ShareonlineBiz(Account): def api_response(self, user, password, req): - res = self.load("http://api.share-online.biz/cgi-bin", + res = self.load("https://api.share-online.biz/cgi-bin", get={'q' : "userdetails", 'aux' : "traffic", 'username': user, diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index bd8a8d1be..b5af3ea35 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -122,7 +122,7 @@ class ShareonlineBiz(SimpleHoster): def handle_premium(self, pyfile): #: Should be working better loading (account) api internally - html = self.load("http://api.share-online.biz/account.php", + html = self.load("https://api.share-online.biz/account.php", get={'username': self.user, 'password': self.account.get_info(self.user)['login']['password'], 'act' : "download", -- cgit v1.2.3