Commit 317308fdfac5e45220e6d5b2e3afba2d21364dd9
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'security-search' into stable
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
app/controllers/public/profile_search_controller.rb
| 1 | class ProfileSearchController < PublicController | 1 | class ProfileSearchController < PublicController |
| 2 | 2 | ||
| 3 | include SearchHelper | 3 | include SearchHelper |
| 4 | + include SanitizeParams | ||
| 4 | 5 | ||
| 6 | + | ||
| 7 | + before_filter :sanitize_params | ||
| 5 | needs_profile | 8 | needs_profile |
| 6 | before_filter :check_access_to_profile | 9 | before_filter :check_access_to_profile |
| 7 | 10 |