Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove another wasteful AS::SafeBuffer allocation

  • Loading branch information...
commit 092f74080c85ae343fcd97ad5f88fb019ab421c0 1 parent e9f215d
@tenderlove tenderlove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/routing/redirection.rb
View
2  actionpack/lib/action_dispatch/routing/redirection.rb
@@ -37,7 +37,7 @@ def serve(req)
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,
Please sign in to comment.
Something went wrong with that request. Please try again.