This project is archived and is in readonly mode.

Changeset [84d387bc0f3f3f6641b08d0ce40e924f09105c19] by Santiago Pastorino

June 17th, 2010 @ 07:34 PM

Make text_helpers methods which return valid html to return it as safe and sanitize the input always unless :sanitize => false is set

[#4825 state:committed]

Signed-off-by: David Heinemeier Hansson david@loudthinking.com
http://github.com/rails/rails/commit/84d387bc0f3f3f6641b08d0ce40e92...

Committed by Santiago Pastorino

  • M actionpack/lib/action_view/helpers/text_helper.rb
  • M actionpack/test/template/text_helper_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>