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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7d0a4122ce104776ec47ea38cc31966c644e16e
4
- data.tar.gz: f7a7899ad8e75923d11b157d5374a6c54f95add9
3
+ metadata.gz: c6d00c3317a3cee1653b4afd2e30f5214cfb9522
4
+ data.tar.gz: 4224817317c51c2c74e03f8fec3f87cb54a2249c
5
5
  SHA512:
6
- metadata.gz: 92a124078d4fa6f1b5381d5cbad225bd761efb979afe58e5888fc2b126a513d560be1a91bbed38335b8e12e51e913a91422e5355b4a22d9e9f2069301a691b72
7
- data.tar.gz: 686f604ba19098fe4bf8fc284dc57df18de2a897685ee3ddd8a485664132cfbc3d02b8c44d8109f9f8e9c743cc5f231ada61ba292cd038828f456a5835cbfdac
6
+ metadata.gz: 26714413159c1268613e17639f89de58bbc2a7e87b8ac798ec2c343308e2a74eff9852f939ca76e84f1d6e24793c54c1f036fe4b0c2c5aeb72689605d6e711cc
7
+ data.tar.gz: 74e44db1d704d2c1adbd9032d88ccaaa3ff94c74386eda3966617e67b28c0ab1b5fe9cc1227e779baa8a8a6a9482defff0d7cca0953c9618cda24864cb668c6d
@@ -3,7 +3,7 @@ module ActiveSupport
3
3
  MAJOR = 3
4
4
  MINOR = 2
5
5
  TINY = 13
6
- PRE = "rc2"
6
+ PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
@@ -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.rc2
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-06 00:00:00.000000000 Z
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: 1.3.1
280
+ version: '0'
281
281
  requirements: []
282
282
  rubyforge_project:
283
283
  rubygems_version: 2.0.2