Skip to content

Commit

Permalink
Fix style of this file
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Oct 7, 2020
1 parent f2caed1 commit 9015e37
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -33,7 +33,7 @@ def redirect_to(location)
if uri.relative? || uri.scheme == "http" || uri.scheme == "https"
body = "<html><body>You are being <a href=\"#{ERB::Util.unwrapped_html_escape(location)}\">redirected</a>.</body></html>"
else
return [400, {"Content-Type" => "text/plain"}, ["Invalid redirection URI"]]
return [400, { "Content-Type" => "text/plain"}, ["Invalid redirection URI"]]
end

[302, {
Expand Down

0 comments on commit 9015e37

Please sign in to comment.