aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/rails_info_test.rb
diff options
context:
space:
mode:
authoreileencodes <eileencodes@gmail.com>2016-01-28 14:18:01 -0500
committereileencodes <eileencodes@gmail.com>2016-01-28 14:25:57 -0500
commit020d6fda29c1f04818dbf467764fc8ac16b7042f (patch)
tree869199120b460ed7389406847ff152bce347215d /railties/test/rails_info_test.rb
parent9f3730a516f30beb0050caea9539f8d6b808e58a (diff)
downloadrails-020d6fda29c1f04818dbf467764fc8ac16b7042f.tar.gz
rails-020d6fda29c1f04818dbf467764fc8ac16b7042f.tar.bz2
rails-020d6fda29c1f04818dbf467764fc8ac16b7042f.zip
Regression test for rendering file from absolute path
Test that we are not allowing you to grab a file with an absolute path outside of your application directory. This is dangerous because it could be used to retrieve files from the server like `/etc/passwd`.
Diffstat (limited to 'railties/test/rails_info_test.rb')
0 files changed, 0 insertions, 0 deletions