Skip to content

Commit

Permalink
Remove whitelist term
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja authored Dec 7, 2023
1 parent 4b7de57 commit f3c5dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/orangelight/browsables_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def set_orangelight_browsable
@orangelight_browsable = model_param.find(id_param) if model_param
end

# Never trust parameters from the scary internet, only allow the white list through.
# Never trust parameters from the scary internet; run the params we receive through an allowlist
def orangelight_browsable_params
params.require(:orangelight_browsable).permit(:model, :id)
end
Expand Down

0 comments on commit f3c5dd4

Please sign in to comment.