# File lib/action_controller/response.rb, line 121 def redirect(url, status) self.status = status self.location = url.gsub(/[\r\n]/, '') self.body = "<html><body>You are being <a href=\"#{CGI.escapeHTML(url)}\">redirected</a>.</body></html>" end