summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-03-23 15:41:00 +0000
committerMayra Cabrera <mcabrera@gitlab.com>2018-03-23 10:28:47 -0600
commit6f9b7bbfab8dd84b31247c928d2effd3fc00495b (patch)
tree26bca198f767c67584893400118cfd4a8efa47de
parent626c64d2081c641fe287860f356036ae8a5c96e5 (diff)
downloadgitlab-ce-6f9b7bbfab8dd84b31247c928d2effd3fc00495b.tar.gz
Merge branch 'sh-update-loofah' into 'master'
Bump loofah to 2.2.2 and rails-html-sanitizer to 1.0.4 Closes #44554 See merge request gitlab-org/gitlab-ce!17945
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock10
-rw-r--r--changelogs/unreleased/sh-update-loofah.yml5
3 files changed, 12 insertions, 5 deletions
diff --git a/Gemfile b/Gemfile
index bc30c31c38f..ac06a938d09 100644
--- a/Gemfile
+++ b/Gemfile
@@ -218,7 +218,7 @@ gem 'sanitize', '~> 2.0'
gem 'babosa', '~> 1.0.2'
# Sanitizes SVG input
-gem 'loofah', '~> 2.0.3'
+gem 'loofah', '~> 2.2'
# Working with license
gem 'licensee', '~> 8.7.0'
diff --git a/Gemfile.lock b/Gemfile.lock
index 8957f1f3867..41e6f2cc529 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -142,6 +142,7 @@ GEM
connection_pool (2.2.1)
crack (0.4.3)
safe_yaml (~> 1.0.0)
+ crass (1.0.3)
creole (0.5.0)
css_parser (1.5.0)
addressable
@@ -488,7 +489,8 @@ GEM
actionpack (>= 4, < 5.2)
activesupport (>= 4, < 5.2)
railties (>= 4, < 5.2)
- loofah (2.0.3)
+ loofah (2.2.2)
+ crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.0)
mini_mime (>= 0.1.1)
@@ -685,8 +687,8 @@ GEM
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6)
rails-deprecated_sanitizer (>= 1.0.1)
- rails-html-sanitizer (1.0.3)
- loofah (~> 2.0)
+ rails-html-sanitizer (1.0.4)
+ loofah (~> 2.2, >= 2.2.2)
rails-i18n (4.0.9)
i18n (~> 0.7)
railties (~> 4.0)
@@ -1100,7 +1102,7 @@ DEPENDENCIES
license_finder (~> 3.1)
licensee (~> 8.7.0)
lograge (~> 0.5)
- loofah (~> 2.0.3)
+ loofah (~> 2.2)
mail_room (~> 0.9.1)
method_source (~> 0.8)
minitest (~> 5.7.0)
diff --git a/changelogs/unreleased/sh-update-loofah.yml b/changelogs/unreleased/sh-update-loofah.yml
new file mode 100644
index 00000000000..6aff0f91939
--- /dev/null
+++ b/changelogs/unreleased/sh-update-loofah.yml
@@ -0,0 +1,5 @@
+---
+title: Bump rails-html-sanitizer to 1.0.4
+merge_request:
+author:
+type: security