From 69a035269d986bd86fa52aefe10cfd367754ebce Mon Sep 17 00:00:00 2001 From: Rohan Vazarkar Date: Thu, 1 Sep 2016 09:56:35 -0400 Subject: [PATCH] Missing single quote escape --- src/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/utils.js b/src/js/utils.js index 24c5deb02..3df93814b 100644 --- a/src/js/utils.js +++ b/src/js/utils.js @@ -363,7 +363,7 @@ export function buildMergeQuery(rows, type){ if (row.UserName === 'ANONYMOUS LOGON@UNKNOWN' || row.UserName === ''){ return } - row.UserName = row.UserName.toUpperCase() + row.UserName = escapeSingleQuotes(row.UserName.toUpperCase()) row.ComputerName = escapeSingleQuotes(row.ComputerName.toUpperCase()) queries.statements.push({"statement": userQuery.format(row.UserName, row.ComputerName, row.Weight)}) })