diff --git a/app/models/person.rb b/app/models/person.rb index 5100119..ae910d0 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -201,6 +201,8 @@ roles] } contact_informatioin ] + xss_terminate :only => [ :custom_footer, :custom_header, :description, :preferred_domain, :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' + validates_multiparameter_assignments def self.fields -- libgit2 0.21.2