From 45f59a792d77adecc4e6b6e62d3c4b60e8cc07be Mon Sep 17 00:00:00 2001 From: Andy McKay Date: Tue, 24 Nov 2015 12:25:27 -0800 Subject: [PATCH] bump validator and escape --- requirements/prod.txt | 2 +- static/js/impala/stats/table.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/prod.txt b/requirements/prod.txt index ae2022e73b..5bd8af0a5a 100644 --- a/requirements/prod.txt +++ b/requirements/prod.txt @@ -1,5 +1,5 @@ -r compiled.txt -amo-validator==1.10.1 +amo-validator==1.10.2 amqp==1.4.6 anyjson==0.3.3 argparse==1.2.1 diff --git a/static/js/impala/stats/table.js b/static/js/impala/stats/table.js index 7303ccb068..573716e362 100644 --- a/static/js/impala/stats/table.js +++ b/static/js/impala/stats/table.js @@ -76,7 +76,7 @@ _.each(fields, function(f) { var id = f.split('|').pop(), - prettyName = z.StatsManager.getPrettyName(metric, id); + prettyName = _.escape(z.StatsManager.getPrettyName(metric, id)); newHead += format('', prettyName); newHead += prettyName; newHead += '';