From fbe58141bbec63dc4228c05d60649e06f1089e62 Mon Sep 17 00:00:00 2001 From: Joanna Sese Date: Thu, 9 Jan 2020 14:49:32 -0600 Subject: [PATCH] Remove s3.amazonaws.com from valid domains. Remove _verifyUri from getFile as it is not necessary --- lib/recurly/client.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/recurly/client.php b/lib/recurly/client.php index 18ae7f8c..216c7fc2 100644 --- a/lib/recurly/client.php +++ b/lib/recurly/client.php @@ -42,7 +42,7 @@ class Recurly_Client /** * Valid Recurly domains */ - private static $valid_domains = ["recurly.com", "s3.amazonaws.com"]; + private static $valid_domains = ["recurly.com"]; /** * Base API URL @@ -283,8 +283,6 @@ private function _raiseCurlError($errorNumber, $message) * @throws Recurly_Error */ public function getFile($uri, $file_pointer) { - $this->_verifyUri($uri); - $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $uri); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE);