From ca28c680077426cf2953588ca7b195695c500f5b Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Thu, 28 Dec 2017 15:36:27 +0100 Subject: [PATCH] Change Pastebin connection from HTTP to HTTPS (note in API page: IMPORTANT: Please update all API calls to HTTPS before March 1st, 2018. We will then block all API calls over HTTP."). --- src/org/april/hebdobot/pastebin/PastebinClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/april/hebdobot/pastebin/PastebinClient.java b/src/org/april/hebdobot/pastebin/PastebinClient.java index a23fa86..1e3957d 100644 --- a/src/org/april/hebdobot/pastebin/PastebinClient.java +++ b/src/org/april/hebdobot/pastebin/PastebinClient.java @@ -41,8 +41,8 @@ import org.april.hebdobot.HebdobotException; */ public class PastebinClient { - private static final String API_LOGIN_URL = "http://pastebin.com/api/api_login.php"; - private static final String API_POST_URL = "http://pastebin.com/api/api_post.php"; + private static final String API_LOGIN_URL = "https://pastebin.com/api/api_login.php"; + private static final String API_POST_URL = "https://pastebin.com/api/api_post.php"; private static final String API_DEV_KEY = "api_dev_key"; private static final String API_USER_KEY = "api_user_key";