summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-09-12 20:54:06 -0700
committerRémy Coutable <remy@rymai.me>2016-02-01 18:25:32 +0100
commitf86ddfd36538667cd0c484a62825569a36ef2a2c (patch)
treec8d68ea4b84324f974db7671ccba13b754ad4b6f /Gemfile
parentda8e0f86595299740a344309cb5963854b61c4a6 (diff)
downloadgitlab-ce-f86ddfd36538667cd0c484a62825569a36ef2a2c.tar.gz
Render sanitized SVG images
Closes https://github.com/gitlabhq/gitlabhq/issues/9265
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index a09d44f8bfd..c9d428a1798 100644
--- a/Gemfile
+++ b/Gemfile
@@ -179,6 +179,9 @@ gem "underscore-rails", "~> 1.8.0"
gem "sanitize", '~> 2.0'
gem 'babosa', '~> 1.0.2'
+# Sanitizes SVG input
+gem "loofah", "~> 2.0.3"
+
# Protect against bruteforcing
gem "rack-attack", '~> 4.3.1'