1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport
Godfrey Chan b9e142af52 Replace JSON.load with JSON.parse, also removed the proc parameter
Since we are dealing with untrusted user input, we should not be
using JSON.load. According to the docs[1]:

BEWARE: This method is meant to serialise data from trusted user
input, like from your own database server or clients under your
control, it could be dangerous to allow untrusted users to pass
JSON sources into it. The default options for the parser can be
changed via the ::load_default_options method.

[1] http://www.ruby-doc.org/stdlib-2.0/libdoc/json/rdoc/JSON.html#method-i-load
2013-09-11 17:22:09 -07:00
..
bin Update Unicode database to recently-released 6.1. 2012-02-03 10:09:26 -03:00
lib Replace JSON.load with JSON.parse, also removed the proc parameter 2013-09-11 17:22:09 -07:00
test Replace JSON.load with JSON.parse, also removed the proc parameter 2013-09-11 17:22:09 -07:00
activesupport.gemspec Merge pull request #10527 from zenspider/squishy_minitest5 2013-05-16 13:41:54 -07:00
CHANGELOG.md Ensure all-caps nested consts marked as autoloaded 2013-08-27 08:20:33 +01:00
MIT-LICENSE Updated copyright notices for 2013 2012-12-31 20:35:29 +00:00
Rakefile grab executable from rubygems 2013-07-26 11:07:25 +02:00
README.rdoc Corrected link anchor and added colons for continuity 2013-02-19 11:11:42 -05:00

= Active Support -- Utility classes and Ruby extensions from Rails

Active Support is a collection of utility classes and standard library
extensions that were found useful for the Rails framework. These additions
reside in this package so they can be loaded as needed in Ruby projects
outside of Rails.


== Download and installation

The latest version of Active Support can be installed with RubyGems:

  % [sudo] gem install activesupport

Source code can be downloaded as part of the Rails project on GitHub:

* https://github.com/rails/rails/tree/master/activesupport


== License

Active Support is released under the MIT license:

* http://www.opensource.org/licenses/MIT


== Support

API documentation is at:

* http://api.rubyonrails.org

Bug reports and feature requests can be filed with the rest for the Ruby on Rails project here:

* https://github.com/rails/rails/issues