From 955547dcd8a3a430eee79d1ea19b4428a61ba8fb Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 8 May 2015 08:23:36 +0000 Subject: [PATCH] * use https for all requests (including login) --- source/net/filebot/web/OpenSubtitlesXmlRpc.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/net/filebot/web/OpenSubtitlesXmlRpc.java b/source/net/filebot/web/OpenSubtitlesXmlRpc.java index 48e5eb38..ad417210 100644 --- a/source/net/filebot/web/OpenSubtitlesXmlRpc.java +++ b/source/net/filebot/web/OpenSubtitlesXmlRpc.java @@ -331,9 +331,8 @@ public class OpenSubtitlesXmlRpc { protected URL getXmlRpcUrl() { try { - return new URL("http://api.opensubtitles.org/xml-rpc"); + return new URL("https://api.opensubtitles.org/xml-rpc"); } catch (MalformedURLException e) { - // will never happen throw new RuntimeException(e); } }