Skip to content

Commit

Permalink
https://github.com/CDLUC3/mrt-doc/issues/1655
Browse files Browse the repository at this point in the history
  • Loading branch information
mreyescdl committed Mar 15, 2024
1 parent 6d03947 commit d931618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/merritt/atom/entry_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def add_component(obj, link)
checksum = xpath_content(link, 'opensearch:checksum')
digest = to_digest(checksum)

name = link['href'].sub(%r{^https?://}, '')
name = link['href'].sub(%r{^https?://}, '').sub(/\?changeToken=.*/, '')

# TODO: do we even support prefetch any more?
obj.add_component(uri, name: name, digest: digest, prefetch: true, prefetch_options: PREFETCH_OPTIONS)
Expand Down

0 comments on commit d931618

Please sign in to comment.