SECURITY: prefer render plain/html to render text where possible

This commit is contained in:
Sam Saffron
2017-04-10 08:01:25 -04:00
parent 1b5d7c1659
commit a3fbb64a0e
9 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class ExceptionsController < ApplicationController
# Don't show google search if it's embedded in the Ember app
@hide_google = true
render text: build_not_found_page(200, false)
render html: build_not_found_page(200, false)
end
end