From 15a4ca5f7061c0d49045baba267268a89e4e3a17 Mon Sep 17 00:00:00 2001 From: Carlos Purificacao Date: Fri, 24 Apr 2015 14:48:50 -0300 Subject: [PATCH] Added sanitize to the comment_group plugin --- plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb b/plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb index 8fee558..299f7ef 100644 --- a/plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb +++ b/plugins/comment_group/controllers/profile/comment_group_plugin_profile_controller.rb @@ -1,6 +1,9 @@ class CommentGroupPluginProfileController < ProfileController append_view_path File.join(File.dirname(__FILE__) + '/../../views') + include SanitizeParams + before_filter :sanitize_params + def view_comments @article_id = params[:article_id] @group_id = params[:group_id] -- libgit2 0.21.2