Sha256: 2a4f274b9f3fc84fbe691a6207ee71942a6403082c964d986bc87ced7d248327
Contents?: true
Size: 1010 Bytes
Versions: 1
Compression:
Stored size: 1010 Bytes
Contents
# Rack::Taint Rack::Taint is Rack middleware to taint the the query string (and thus GET parameters), input (and thus POST parameters), headers (and thus cookies), and everything else that comes in on a request. Among other use cases, this may prove helpful as a component in a [scheme that limits mass assignment in Rails][mass assignment scheme]. [mass assignment scheme]: http://jkfill.com/2012/03/10/preventing-mass-assignment-injection-in-rails/ ## Installation Add this line to your application's Gemfile: gem 'rack-taint' On Rails, the Railtie takes care of everything else. On everything else, you'll need to add the `Rack::Taint` middleware to the stack yourself. ## Contributing Please follow [Git commit message best practices][practices] when submitting a pull request. [practices]: http://stopwritingramblingcommitmessages.com/ If I provide you with feedback on your pull request, generally you should squash your changes into the previous commit when submitting a second request.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-taint-1.0.0 | README.markdown |