summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2018-12-19 22:20:01 -0800
committerEd Tanous <ed.tanous@intel.com>2018-12-22 17:34:42 +0000
commit7c2b7c124f620da1ff0f8a70fd32b93e97d28871 (patch)
treea364cfdb53cadbb28700aedb73bd1d2b1c035c08
parent11adec7e71dc62952a573a2201e7284c440f396b (diff)
downloadphosphor-webui-7c2b7c124f620da1ff0f8a70fd32b93e97d28871.tar.gz
phosphor-webui-7c2b7c124f620da1ff0f8a70fd32b93e97d28871.zip
Enable ngSanitize
Previously, we had been pulling in ngSanitize, but were not enabling it. This commit enables ngSanitize to improve our injection prevention. Change-Id: I8a8666efac37da1759b53e5961dad4b63101d3cd Signed-off-by: Ed Tanous <ed.tanous@intel.com>
-rw-r--r--app/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/index.js b/app/index.js
index 645f315..e0bc431 100644
--- a/app/index.js
+++ b/app/index.js
@@ -88,7 +88,7 @@ window.angular && (function(angular) {
[
// Dependencies
'ngRoute', 'angular-clipboard',
- 'app.common.directives.dirPagination',
+ 'app.common.directives.dirPagination', 'ngSanitize',
// Basic resources
'app.common.services', 'app.common.directives',
'app.common.filters',
OpenPOWER on IntegriCloud