Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add changelog entry for #6003 backport

  • Loading branch information...
commit ff5d60636878fee6135d44f48b2e1108a99f4eb0 1 parent 0c7a236
Carlos Antonio da Silva carlosantoniodasilva authored
Showing with 15 additions and 0 deletions.
  1. +15 −0 actionpack/CHANGELOG.md
15 actionpack/CHANGELOG.md
View
@@ -1,5 +1,20 @@
## Rails 3.2.10 (unreleased) ##
+* Fix side effect of `url_for` changing the `:controller` string option. [Backport #6003]
+
+ Before:
+
+ controller = '/projects'
+ url_for :controller => controller, :action => 'status'
+
+ puts controller #=> 'projects'
+
+ After
+
+ puts controller #=> '/projects'
+
+ [Nikita Beloglazov + Andrew White]
+
* Introduce `ActionView::Template::Handlers::ERB.escape_whitelist`. This is a list
of mime types where template text is not html escaped by default. It prevents `Jack & Joe`
from rendering as `Jack & Joe` for the whitelisted mime types. The default whitelist
Please sign in to comment.
Something went wrong with that request. Please try again.