From 9b543f31e5b91cc1d5491d573c7e1d610e58492a Mon Sep 17 00:00:00 2001 From: Philipp Tessenow Date: Wed, 23 Mar 2011 14:33:51 +0100 Subject: [PATCH] set sanitize-bit when evaluating remote JSON --- assets/javascripts/reporting/filters.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/reporting/filters.js b/assets/javascripts/reporting/filters.js index d4aafbabe9..8327a58242 100644 --- a/assets/javascripts/reporting/filters.js +++ b/assets/javascripts/reporting/filters.js @@ -225,7 +225,7 @@ Reporting.Filters = { get_dependents: function (element) { if (element.hasAttribute("data-dependents")) { - return element.getAttribute("data-dependents").replace(/'/g, '"').evalJSON(); + return element.getAttribute("data-dependents").replace(/'/g, '"').evalJSON(true); } else { return []; }