From ca23e6d4d3e3a14e2e3ec1af46ca2bd2c7d5576c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 24 Jun 2013 16:19:38 -0300 Subject: Add CHANGELOG entry for #10971 [ci skip] --- actionpack/CHANGELOG.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index 585cad24db..5508fb9453 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,19 @@ ## unreleased ## +* Always escape the result of `link_to_unless` method. + + Before: + + link_to_unless(true, 'Showing', 'github.com') + # => "Showing" + + After: + + link_to_unless(true, 'Showing', 'github.com') + # => "<b>Showing</b>" + + *dtaniwaki* + * Use a case insensitive URI Regexp for #asset_path. This fix a problem where the same asset path using different case are generating -- cgit v1.2.3