remove another wasteful AS::SafeBuffer allocation

This commit is contained in:
Aaron Patterson 2014-06-06 12:06:58 -07:00
parent e9f215d9f2
commit 092f74080c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ module ActionDispatch
uri.host ||= req.host
uri.port ||= req.port unless req.standard_port?
body = %(<html><body>You are being <a href="#{ERB::Util.h(uri.to_s)}">redirected</a>.</body></html>)
body = %(<html><body>You are being <a href="#{ERB::Util.unwrapped_html_escape(uri.to_s)}">redirected</a>.</body></html>)
headers = {
'Location' => uri.to_s,