Permalink
Browse files

Add CHANGELOG entry for #10969

[ci skip]
  • Loading branch information...
1 parent 0117f28 commit 2d2f35ddf24bca89ef8c8e012bb230b721b40294 @rafaelfranca rafaelfranca committed Jun 17, 2013
Showing with 21 additions and 0 deletions.
  1. +21 −0 actionpack/CHANGELOG.md
View
@@ -1,3 +1,24 @@
+* Use a case insensitive URI Regexp for #asset_path.
+
+ This fix a problem where the same asset path using different case are generating
+ different URIs.
+
+ Before:
+
+ image_tag("HTTP://google.com")
+ # => "<img alt=\"Google\" src=\"/assets/HTTP://google.com\" />"
+ image_tag("http://google.com")
+ # => "<img alt=\"Google\" src=\"http://google.com\" />"
+
+ After:
+
+ image_tag("HTTP://google.com")
+ # => "<img alt=\"Google\" src=\"HTTP://google.com\" />"
+ image_tag("http://google.com")
+ # => "<img alt=\"Google\" src=\"http://google.com\" />"
+
+ *David Celis*
+
* Element of the `collection_check_boxes` and `collection_radio_buttons` can
optionally contain html attributes as the last element of the array.

0 comments on commit 2d2f35d

Please sign in to comment.