diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2010-06-27 09:16:46 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-06-28 15:35:38 +0200 |
commit | 0b6ce3422370647cad3e91263a291f69b313d65b (patch) | |
tree | fdb4fd6678f761880e387a830f59b4d6f15e8668 /actionpack/lib/abstract_controller/collector.rb | |
parent | e717631a8481935e8ac1eeb2445da341bdd4c868 (diff) | |
download | rails-0b6ce3422370647cad3e91263a291f69b313d65b.tar.gz rails-0b6ce3422370647cad3e91263a291f69b313d65b.tar.bz2 rails-0b6ce3422370647cad3e91263a291f69b313d65b.zip |
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/1b3195b63ca44f0a70b61b75fcf4991cb2fbb944
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/lib/abstract_controller/collector.rb')
0 files changed, 0 insertions, 0 deletions