aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/clone_test.rb
diff options
context:
space:
mode:
authorogeidix <diegogiorgini@gmail.com>2011-07-19 22:05:16 +0200
committerogeidix <diegogiorgini@gmail.com>2011-07-19 22:05:16 +0200
commit1ac802fe3c79fc2838253e71e4f32e3f1710f8f1 (patch)
treeff5076f4ee19716cb60af92342482801ed083f9b /activerecord/test/cases/clone_test.rb
parent37418e546834a034d1ad923f3f46f9b14f87d7a6 (diff)
downloadrails-1ac802fe3c79fc2838253e71e4f32e3f1710f8f1.tar.gz
rails-1ac802fe3c79fc2838253e71e4f32e3f1710f8f1.tar.bz2
rails-1ac802fe3c79fc2838253e71e4f32e3f1710f8f1.zip
Check Accept and Content-Type headers before evaluating them in xhr requests. Closes #2119
An xhr request must have an "Accept" or "Content-type" header in order to be considered a request with valid_accept_header.
Diffstat (limited to 'activerecord/test/cases/clone_test.rb')
0 files changed, 0 insertions, 0 deletions