Permalink
Browse files

require reporting before attempting to "shush"

  • Loading branch information...
1 parent 941e990 commit 3b325d624ccb5b390356d61a3ba72f09709066a4 @josh josh committed Sep 13, 2009
View
2 activesupport/lib/active_support/core_ext/rexml.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/kernel/reporting'
+
# Fixes the rexml vulnerability disclosed at:
# http://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml/
# This fix is identical to rexml-expansion-fix version 1.0.1
View
1 activesupport/lib/active_support/xml_mini/rexml.rb
@@ -1,3 +1,4 @@
+require 'active_support/core_ext/kernel/reporting'
require 'active_support/core_ext/object/blank'
# = XmlMini ReXML implementation

0 comments on commit 3b325d6

Please sign in to comment.