heartcombo--devise/test
Josh Pencheon 31aceeb104 Fix bug: `ParameterFilter` should not add keys (#3431) (#4457)
If called with a hash that has a `default` / `default_proc`
configured, `Devise::ParameterFilter` can add in missing keys
it was due to attempt to sanitise the values for.

This patch prevents this from happening, whilst also clarifying
the filtering intent of `ParamaterFilter`.

(This can also occur if NilClass has been augmented with definitions
for `strip` or `downcase`.)

Fixes #3431.
2018-05-15 10:47:18 -03:00
..
controllers Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
generators Primary key type in migration template (#4426) 2017-12-23 17:20:45 -02:00
helpers Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
integration Issue 4763: Change login errors for when in paranoid mode 2018-05-09 10:49:27 -03:00
mailers Use `update` instead of `update_attributes` 2018-03-29 15:39:24 -03:00
models Fix bug: `ParameterFilter` should not add keys (#3431) (#4457) 2018-05-15 10:47:18 -03:00
omniauth Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
orm Test on Rails 5.2.0.rc1 (#4711) 2018-02-22 10:05:19 -03:00
rails_app add test for lazy loading hook 2018-03-29 15:32:46 -03:00
support Ensure Devise isn't performing model validations 2018-03-14 15:21:07 -03:00
test Preserve content_type for unauthenticated tests 2018-02-26 12:15:36 -05:00
delegator_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
devise_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
failure_app_test.rb add test for lazy loading hook 2018-03-29 15:32:46 -03:00
mapping_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
models_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
parameter_sanitizer_test.rb Fix error when params is not a hash 2018-05-09 14:56:50 -03:00
rails_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
routes_test.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
secret_key_finder_test.rb find auto-generated secret_key_base in development (#4869) 2018-05-14 18:09:25 -03:00
test_helper.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00
test_models.rb Add the frozen_string_literal pragma comment to all Ruby files. (#4725) 2017-12-21 15:36:29 -02:00