From 5e9d64e3d09bb088df7b2ae8061e67db0490965c Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Mon, 18 Mar 2024 10:56:34 -0500 Subject: [PATCH] Use https for refworks link This prevents an insecure content message displaying to the user. --- app/helpers/blacklight_marc_helper.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/helpers/blacklight_marc_helper.rb b/app/helpers/blacklight_marc_helper.rb index 9d7c966..446ee03 100644 --- a/app/helpers/blacklight_marc_helper.rb +++ b/app/helpers/blacklight_marc_helper.rb @@ -1,8 +1,6 @@ module BlacklightMarcHelper - - # This method should move to BlacklightMarc in Blacklight 6.x def refworks_export_url params = {}, *_ - "http://www.refworks.com/express/expressimport.asp?vendor=#{CGI.escape(params[:vendor] || application_name)}&filter=#{CGI.escape(params[:filter] || "MARC Format")}&encoding=65001" + (("&url=#{CGI.escape(params[:url])}" if params[:url]) || "") + "https://www.refworks.com/express/expressimport.asp?vendor=#{CGI.escape(params[:vendor] || application_name)}&filter=#{CGI.escape(params[:filter] || "MARC Format")}&encoding=65001" + (("&url=#{CGI.escape(params[:url])}" if params[:url]) || "") end def refworks_solr_document_path opts = {}, *_