aboutsummaryrefslogtreecommitdiff
path: root/OpenSubtitlesHandler/Utilities.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-04-23 01:56:23 -0400
committerLuke <luke.pulverenti@gmail.com>2016-04-23 01:56:23 -0400
commit02a325f77be4e24f3636c29ef69f437221505b1b (patch)
tree2d966fc350676c734f915e6b306bcad1b10379fe /OpenSubtitlesHandler/Utilities.cs
parent84546392186d59f0212206ec5204bedc8e54fddc (diff)
parent0879089eb50b527a9b1318074476a273d06465e4 (diff)
Merge pull request #1678 from nfnty/api
Use HTTPS for API requests
Diffstat (limited to 'OpenSubtitlesHandler/Utilities.cs')
-rw-r--r--OpenSubtitlesHandler/Utilities.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSubtitlesHandler/Utilities.cs b/OpenSubtitlesHandler/Utilities.cs
index 2ae116521..d26c76b7c 100644
--- a/OpenSubtitlesHandler/Utilities.cs
+++ b/OpenSubtitlesHandler/Utilities.cs
@@ -32,7 +32,7 @@ namespace OpenSubtitlesHandler
/// </summary>
public sealed class Utilities
{
- private const string XML_RPC_SERVER = "http://api.opensubtitles.org/xml-rpc";
+ private const string XML_RPC_SERVER = "https://api.opensubtitles.org/xml-rpc";
/// <summary>
/// Compute movie hash
@@ -195,7 +195,7 @@ namespace OpenSubtitlesHandler
RequestContentBytes = request,
RequestContentType = "text/xml",
UserAgent = userAgent,
- Host = "api.opensubtitles.org:80",
+ Host = "api.opensubtitles.org:443",
Url = XML_RPC_SERVER,
// Response parsing will fail with this enabled