Skip to content

Commit

Permalink
Merge pull request #119 from projectblacklight/raw-params
Browse files Browse the repository at this point in the history
Redirect legacy parameters using #to_unsafe_h because we're dealing with raw params
  • Loading branch information
corylown authored Jul 12, 2022
2 parents f53c3d3 + 5fd02c2 commit e3d9c6a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def self.before(controller)
end

if legacy_converted
controller.send(:redirect_to, params, :status => :moved_permanently)
controller.send(:redirect_to, params.to_unsafe_h, :status => :moved_permanently)
end
end
end
end
end

0 comments on commit e3d9c6a

Please sign in to comment.