diff --git a/lib/merritt/atom/entry_processor.rb b/lib/merritt/atom/entry_processor.rb index b62d712..6e5e9a0 100644 --- a/lib/merritt/atom/entry_processor.rb +++ b/lib/merritt/atom/entry_processor.rb @@ -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)