Skip to content

Commit

Permalink
Blacklist "original_script_name" get param
Browse files Browse the repository at this point in the history
  • Loading branch information
viseztrance committed Apr 21, 2020
1 parent 04d86ed commit 8dd52a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kaminari-core/lib/kaminari/helpers/tags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Kaminari
module Helpers
PARAM_KEY_EXCEPT_LIST = [:authenticity_token, :commit, :utf8, :_method, :script_name].freeze
PARAM_KEY_EXCEPT_LIST = [:authenticity_token, :commit, :utf8, :_method, :script_name, :original_script_name].freeze

# A tag stands for an HTML tag inside the paginator.
# Basically, a tag has its own partial template file, so every tag can be
Expand Down

0 comments on commit 8dd52a1

Please sign in to comment.