Skip to content

Commit

Permalink
Merge pull request #119 from projectblacklight/jcoyne-patch-1
Browse files Browse the repository at this point in the history
Use https for refworks link
  • Loading branch information
jcoyne authored Mar 20, 2024
2 parents d8b1a4b + 5e9d64e commit 05adc74
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/helpers/blacklight_marc_helper.rb
Original file line number Diff line number Diff line change
@@ -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 = {}, *_
Expand Down

0 comments on commit 05adc74

Please sign in to comment.