Merge pull request #1020 from viseztrance/fix/add-entry-to-blacklist

Blacklist "original_script_name" get param
This commit is contained in:
Akira Matsuda 2020-05-16 22:31:36 +09:00 committed by GitHub
commit 674aeecbb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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