This project is archived and is in readonly mode.
Changeset [0b6ce3422370647cad3e91263a291f69b313d65b] by Andrew White
Revision 0b6ce3422370647cad3e91263a291f69b313d65b,
committed 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...
2 changed files
-
M
actionpack/lib/action_view/helpers/url_helper.rb -
M
actionpack/test/template/url_helper_test.rb