mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08: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