lib/blacklight/engine.rb in blacklight-6.24.0 vs lib/blacklight/engine.rb in blacklight-6.25.0

- old
+ new

@@ -43,12 +43,14 @@ 'Cricket' => 'mms.mycricket.com' } config.routes = OpenStruct.new # Set identifier_constraint to enforce a format for the document identifiers - config.routes.identifier_constraint = /[\w-]+/ + config.routes.identifier_constraint = /.+/ config.bookmarks_http_method = :post config.email_regexp = defined?(Devise) ? Devise.email_regexp : /\A[^@\s]+@[^@\s]+\z/ + + Blacklight::Engine.config.search_params_permitted_classes = [ActiveSupport::HashWithIndifferentAccess, Symbol] end end