mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:37:37 +08:00
SECURITY: prefer render plain/html to render text where possible
This commit is contained in:
@ -85,7 +85,7 @@ class Admin::EmailController < Admin::AdminController
|
||||
def handle_mail
|
||||
params.require(:email)
|
||||
Email::Processor.process!(params[:email])
|
||||
render text: "email was processed"
|
||||
render plain: "email was processed"
|
||||
end
|
||||
|
||||
def raw_email
|
||||
|
Reference in New Issue
Block a user