sul-dlss / exhibits

Stanford University Libraries online exhibits showcase
https://exhibits.stanford.edu
Other
19 stars 7 forks source link

Remove deprecated range_limit_panel route #2437

Closed taylor-steve closed 2 months ago

taylor-steve commented 3 months ago

Closes #2431.

Bots (presumably) are hitting the range_limit_panel route in ways that fail, spamming honeybadger. That route appears to be deprecated: https://github.com/projectblacklight/blacklight_range_limit/blob/2f34f9f09e1a9a0a7d5194d2f15ae8021c3f5184/lib/blacklight_range_limit/controller_override.rb#L66

Exhibits does not appear to use that deprecated route. This removes it. Tested on stage, range limit still works.

If this is too fussy, we could try robots.txt first and see if they are respectful bots.