Skip to content
  • Andrew White's avatar
    6520ea5f
    Deprecate :controller and :action path parameters · 6520ea5f
    Andrew White authored
    Allowing :controller and :action values to be specified via the path
    in config/routes.rb has been an underlying cause of a number of issues
    in Rails that have resulted in security releases. In light of this it's
    better that controllers and actions are explicitly whitelisted rather
    than trying to blacklist or sanitize 'bad' values.
    6520ea5f
    Deprecate :controller and :action path parameters
    Andrew White authored
    Allowing :controller and :action values to be specified via the path
    in config/routes.rb has been an underlying cause of a number of issues
    in Rails that have resulted in security releases. In light of this it's
    better that controllers and actions are explicitly whitelisted rather
    than trying to blacklist or sanitize 'bad' values.
Loading