diff --git a/app/models/spotlight/resources/oaipmh_mods_parser.rb b/app/models/spotlight/resources/oaipmh_mods_parser.rb index 6cea01b..fce6d38 100644 --- a/app/models/spotlight/resources/oaipmh_mods_parser.rb +++ b/app/models/spotlight/resources/oaipmh_mods_parser.rb @@ -180,7 +180,7 @@ def parsed_urn_id(urn) def fetch_ids_uri(uri_str) uri_str.strip! - if uri_str.scan(/urn-3/).size == 1 + if uri_str.scan(/urn-3/i).size == 1 response = Net::HTTP.get_response(URI.parse(uri_str))['location'] elsif uri_str.include?('?') uri_str = uri_str.slice(0..(uri_str.index('?')-1)) diff --git a/lib/spotlight/oaipmh/resources/version.rb b/lib/spotlight/oaipmh/resources/version.rb index 9cc2078..6edd0c9 100644 --- a/lib/spotlight/oaipmh/resources/version.rb +++ b/lib/spotlight/oaipmh/resources/version.rb @@ -2,7 +2,7 @@ module Spotlight module Oaipmh # :nodoc: module Resources - VERSION = "3.0.3" + VERSION = "3.0.4" end end end