This project is archived and is in readonly mode.

Changeset [cba1460a2fe2bbe1153620582a66e03cec9ba7a5] by Xavier Noria

June 29th, 2010 @ 11:23 PM

url_for no longer escapes HTML, the :escape option is also gone

Rationale: url_for is just a path/URL generator, it is the responsability of the caller to escape conveniently HTML needs it, JavaScript needs different escaping, a text mail needs no escaping at all, etc.
http://github.com/rails/rails/commit/cba1460a2fe2bbe1153620582a66e0...

Committed by Xavier Noria

  • M actionpack/CHANGELOG
  • M actionpack/lib/action_view/helpers/form_tag_helper.rb
  • M actionpack/lib/action_view/helpers/prototype_helper.rb
  • M actionpack/lib/action_view/helpers/url_helper.rb
  • M actionpack/test/template/url_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>