This project is archived and is in readonly mode.

Changeset [0b6ce3422370647cad3e91263a291f69b313d65b] by Andrew White

June 28th, 2010 @ 02:35 PM

Restores the escaping of urls generated from hashes. [#4765 state:resolved]

HTML specifications recommend the escaping of urls in web pages,
which url_for does by default for string urls and consquently
urls generated by path helpers as these return strings.

Hashes passed to url_for are not escaped by default and this
commit reverses this default so that they are escaped.

Undoes the changes of this commit:
http://github.com/rails/rails/commit/1b3195b63ca44f0a70b61b75fcf499...

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/0b6ce3422370647cad3e91263a291f...

Committed by Andrew White

  • 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>