This project is archived and is in readonly mode.
Changeset [cba1460a2fe2bbe1153620582a66e03cec9ba7a5] by Xavier Noria
Revision cba1460a2fe2bbe1153620582a66e03cec9ba7a5,
committed 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...
5 changed files
-
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