summaryrefslogtreecommitdiff
path: root/web-ui/bower.json
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-02-24 10:13:25 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-02-24 10:20:36 +0100
commit77ec41bb6f542077503106cacc1dbd28118c50b4 (patch)
tree7e59c1e5cdffd6146acb6504a9741d394af6a62f /web-ui/bower.json
parent6160633ab9a54238974af3cf498024ad98fc977e (diff)
Issue #617: Sanitize received content
Sanitizes received HTML content with DOMPurify, making it safe for displaying and templating. Sanitizes received plain text content by encoding every single character as HTML entity.
Diffstat (limited to 'web-ui/bower.json')
-rw-r--r--web-ui/bower.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/web-ui/bower.json b/web-ui/bower.json
index 261f6e90..263ac2e4 100644
--- a/web-ui/bower.json
+++ b/web-ui/bower.json
@@ -15,7 +15,9 @@
"utf8": "~2.1.1",
"modernizr": "~2.8.3",
"jquery-file-upload": "~9.11.2",
- "jquery-ui": "~1.11.4"
+ "jquery-ui": "~1.11.4",
+ "DOMPurify": "~0.7.4",
+ "he": "~0.5.0"
},
"devDependencies": {
"handlebars": "2.0.0",