From 1e7167aa6d0c20b8e7b54969577c53abe50461c5 Mon Sep 17 00:00:00 2001 From: Benjamin Mako Hill Date: Wed, 9 Jan 2013 11:43:27 -0500 Subject: [PATCH] fix security issue --- config/environment.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/environment.rb b/config/environment.rb index 28ecf9e..802b3b9 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -147,3 +147,8 @@ GeoKit::Geocoders::geocoder_ca = false # various geocoders. Make sure you read up on relevant Terms of Use for each # geocoder you are going to use. GeoKit::Geocoders::provider_order = [:google,:us] + +# fix major security vulnerability: +# https://groups.google.com/forum/#!topic/rubyonrails-security/61bkgvnSGTQ/discussion +ActionController::Base.param_parsers.delete(Mime::XML) + -- 2.39.5