activesupport 3.2.13.rc2 → 3.2.13
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of activesupport might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/active_support/version.rb +1 -1
- data/lib/active_support/xml_mini/jdom.rb +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6d00c3317a3cee1653b4afd2e30f5214cfb9522
|
4
|
+
data.tar.gz: 4224817317c51c2c74e03f8fec3f87cb54a2249c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26714413159c1268613e17639f89de58bbc2a7e87b8ac798ec2c343308e2a74eff9852f939ca76e84f1d6e24793c54c1f036fe4b0c2c5aeb72689605d6e711cc
|
7
|
+
data.tar.gz: 74e44db1d704d2c1adbd9032d88ccaaa3ff94c74386eda3966617e67b28c0ab1b5fe9cc1227e779baa8a8a6a9482defff0d7cca0953c9618cda24864cb668c6d
|
@@ -38,6 +38,12 @@ module ActiveSupport
|
|
38
38
|
{}
|
39
39
|
else
|
40
40
|
@dbf = DocumentBuilderFactory.new_instance
|
41
|
+
# secure processing of java xml
|
42
|
+
# http://www.ibm.com/developerworks/xml/library/x-tipcfsx/index.html
|
43
|
+
@dbf.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false)
|
44
|
+
@dbf.setFeature("http://xml.org/sax/features/external-general-entities", false)
|
45
|
+
@dbf.setFeature("http://xml.org/sax/features/external-parameter-entities", false)
|
46
|
+
@dbf.setFeature(javax.xml.XMLConstants::FEATURE_SECURE_PROCESSING, true)
|
41
47
|
xml_string_reader = StringReader.new(data)
|
42
48
|
xml_input_source = InputSource.new(xml_string_reader)
|
43
49
|
doc = @dbf.new_document_builder.parse(xml_input_source)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activesupport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.13
|
4
|
+
version: 3.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -275,9 +275,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
275
275
|
version: 1.8.7
|
276
276
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
277
|
requirements:
|
278
|
-
- - '
|
278
|
+
- - '>='
|
279
279
|
- !ruby/object:Gem::Version
|
280
|
-
version:
|
280
|
+
version: '0'
|
281
281
|
requirements: []
|
282
282
|
rubyforge_project:
|
283
283
|
rubygems_version: 2.0.2
|