diff options
author | Xavier Noria <fxn@hashref.com> | 2010-06-29 19:55:57 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-06-30 00:23:13 +0200 |
commit | cba1460a2fe2bbe1153620582a66e03cec9ba7a5 (patch) | |
tree | 5127a168612f8c18ab8edd1e30e669aea0f1cea7 /actionpack/CHANGELOG | |
parent | 0253bf425ea6fc112d8eecc6e7ea94e349cb538d (diff) | |
download | rails-cba1460a2fe2bbe1153620582a66e03cec9ba7a5.tar.gz rails-cba1460a2fe2bbe1153620582a66e03cec9ba7a5.tar.bz2 rails-cba1460a2fe2bbe1153620582a66e03cec9ba7a5.zip |
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.
Diffstat (limited to 'actionpack/CHANGELOG')
-rw-r--r-- | actionpack/CHANGELOG | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG b/actionpack/CHANGELOG index cdd64edec0..80be915407 100644 --- a/actionpack/CHANGELOG +++ b/actionpack/CHANGELOG @@ -1,5 +1,7 @@ *Rails 3.0.0 [Release Candidate] (unreleased)* +* url_for returns always unescaped strings, and the :escape option is gone. [fxn] + * Added accept-charset parameter and _snowman hidden field to force the contents of Rails POSTed forms to be in UTF-8 [Yehuda Katz] |