about summary refs log tree commit diff
path: root/app/controllers/api/v1/domain_blocks_controller.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2018-03-01 02:47:59 +0100
committerGitHub <noreply@github.com>2018-03-01 02:47:59 +0100
commitfce8464077dfca64c3bc9a52b7bcde50c9ac555e (patch)
treee99eedf4a8e23ae1415ac51e833751510e6ec2b4 /app/controllers/api/v1/domain_blocks_controller.rb
parent47bdb9b33b021c92bdfc6698914776eda13f6f77 (diff)
Ensure that boolean params in the API are parsed for truthiness (#6575)
Use Rails smart boolean cast to account for values such as "f",
"0", "false", etc. Previously, if a param was present in the request,
it would count as true.
Diffstat (limited to 'app/controllers/api/v1/domain_blocks_controller.rb')
0 files changed, 0 insertions, 0 deletions