From 84cf75eaee599a16dcb74713b60e65400eaa6fd7 Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Thu, 3 Sep 2015 10:14:01 -0300 Subject: [PATCH] removing state and city from xss --- app/models/person.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/person.rb b/app/models/person.rb index c0f5c3a..b1ad039 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -221,7 +221,7 @@ class Person < Profile contact_informatioin ] - xss_terminate :only => [ :custom_footer, :custom_header, :description, :nickname, :sex, :nationality, :country, :state, :city, :district, :zip_code, :address, :address_reference, :cell_phone, :comercial_phone, :personal_website, :jabber_id, :schooling, :formation, :custom_formation, :area_of_study, :custom_area_of_study, :professional_activity, :organization, :organization_website, :contact_phone, :contact_information ], :with => 'white_list' + xss_terminate :only => [ :custom_footer, :custom_header, :description, :nickname, :sex, :nationality, :country, :district, :zip_code, :address, :address_reference, :cell_phone, :comercial_phone, :personal_website, :jabber_id, :schooling, :formation, :custom_formation, :area_of_study, :custom_area_of_study, :professional_activity, :organization, :organization_website, :contact_phone, :contact_information ], :with => 'white_list' validates_multiparameter_assignments -- libgit2 0.21.2