From 3320c09cb1a452f8321702d2ecffb6d113561e5d Mon Sep 17 00:00:00 2001 From: ppound Date: Thu, 23 Sep 2021 13:55:21 -0300 Subject: [PATCH] upgrade http requests to https requests --- ebsco/lib/EBSCOConnector.php | 2 +- ebsco/lib/EBSCOResponse.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ebsco/lib/EBSCOConnector.php b/ebsco/lib/EBSCOConnector.php index 4bd4664..1948e9d 100644 --- a/ebsco/lib/EBSCOConnector.php +++ b/ebsco/lib/EBSCOConnector.php @@ -108,7 +108,7 @@ class EBSCOConnector { * * @global string */ - private static $end_point = 'http://eds-api.ebscohost.com/EDSAPI/rest'; + private static $end_point = 'https://eds-api.ebscohost.com/EDSAPI/rest'; /** diff --git a/ebsco/lib/EBSCOResponse.php b/ebsco/lib/EBSCOResponse.php index 33d40e3..e120e4d 100644 --- a/ebsco/lib/EBSCOResponse.php +++ b/ebsco/lib/EBSCOResponse.php @@ -205,7 +205,7 @@ class EBSCOResponse { $url = (string) $link->Url; // If we have an empty url when type is pdflink then just return something so // that the UI check for empty string will pass. - $url = empty($url) && $type == 'pdflink' ? 'http://content.ebscohost.com' : $url; + $url = empty($url) && $type == 'pdflink' ? 'https://content.ebscohost.com' : $url; $links[$type] = $url; } } @@ -579,7 +579,7 @@ class EBSCOResponse { $url = (string) $link->Url; // If we have an empty url when type is pdflink then just return something so // that the UI check for empty string will pass. - $url = empty($url) && $type == 'pdflink' ? 'http://content.ebscohost.com' : $url; + $url = empty($url) && $type == 'pdflink' ? 'https://content.ebscohost.com' : $url; $links[$type] = $url; } $value = $this->toHTML($record->FullText->Text->Value);