Permalink
Browse files

remove yaml as a param parser :burn:

If you revert this commit, I will hunt you down, I will make you regret
ever terrible thing you've ever done, I will make you suffer.
  • Loading branch information...
tenderlove committed Jan 8, 2013
1 parent 6b126e2 commit e80546cdec56a9c3fcaf6217cba08a02d789d2bc
Showing with 0 additions and 2 deletions.
  1. +0 βˆ’2 actionpack/lib/action_dispatch/middleware/params_parser.rb
@@ -49,8 +49,6 @@ def parse_formatted_parameters(env)
when :xml_simple, :xml_node
data = request.deep_munge(Hash.from_xml(request.body.read) || {})
data.with_indifferent_access
- when :yaml
- YAML.load(request.raw_post)
when :json
data = request.deep_munge ActiveSupport::JSON.decode(request.body)
data = {:_json => data} unless data.is_a?(Hash)

3 comments on commit e80546c

@sikachu

This comment has been minimized.

Show comment Hide comment
@sikachu

sikachu Jan 8, 2013

Member

πŸ”₯ πŸ”₯ πŸ”₯ πŸ”₯ πŸ”₯

Member

sikachu replied Jan 8, 2013

πŸ”₯ πŸ”₯ πŸ”₯ πŸ”₯ πŸ”₯

@exviva

This comment has been minimized.

Show comment Hide comment
@exviva

exviva Jan 9, 2013

Contributor

πŸ‘

Contributor

exviva replied Jan 9, 2013

πŸ‘

@homakov

This comment has been minimized.

Show comment Hide comment
@homakov

homakov Jan 10, 2013

Contributor

:epic: < i expect to have this in emoji!

Contributor

homakov replied Jan 10, 2013

:epic: < i expect to have this in emoji!

Please sign in to comment.