From 6f1f3b3933634c9d512ffe9fbc52a994d2b15d0a Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 5 Jan 2017 14:55:29 +0100 Subject: [PATCH] =?UTF-8?q?Debugging=20r=C3=A4ksm=C3=B6rg=C3=A5s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Site/Automation/SwarmFunctions.aspx.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Site/Automation/SwarmFunctions.aspx.cs b/Site/Automation/SwarmFunctions.aspx.cs index cd1d018d..1ee061b7 100644 --- a/Site/Automation/SwarmFunctions.aspx.cs +++ b/Site/Automation/SwarmFunctions.aspx.cs @@ -261,10 +261,10 @@ namespace Swarmops.Frontend.Automation return new PersonEditorData { Success = true, - Name = person.Name, - Mail = person.Mail, - Phone = person.Phone, - TwitterId = person.TwitterId, + Name = JavascriptEscape(person.Name), + Mail = JavascriptEscape(person.Mail), + Phone = JavascriptEscape(person.Phone), + TwitterId = JavascriptEscape(person.TwitterId), TwoFactorActive = !string.IsNullOrEmpty(person.BitIdAddress) }; }