diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-06-16 21:37:23 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-06-16 21:37:46 -0300 |
commit | 2d2f35ddf24bca89ef8c8e012bb230b721b40294 (patch) | |
tree | 5524d31dd8380bd4a3231bafafef9c10bc63fd2e /actionpack | |
parent | 0117f28b980e5f2d68ff9ff5862f3fdb0216e2a0 (diff) | |
download | rails-2d2f35ddf24bca89ef8c8e012bb230b721b40294.tar.gz rails-2d2f35ddf24bca89ef8c8e012bb230b721b40294.tar.bz2 rails-2d2f35ddf24bca89ef8c8e012bb230b721b40294.zip |
Add CHANGELOG entry for #10969
[ci skip]
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/CHANGELOG.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 46ebc2a61a..b1c5987fe4 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -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. |