mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
SECURITY: prefer render plain/html to render text where possible
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user