From b3e67d50c6106a2e4d65efa86de135196d96177d Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Sun, 27 Feb 2022 20:04:55 +0530 Subject: [PATCH] Relax dependency on ruby-sanitize --- debian/control | 2 +- debian/patches/0180-relax-sanitize.patch | 11 +++++++++++ debian/patches/series | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 debian/patches/0180-relax-sanitize.patch diff --git a/debian/control b/debian/control index e733639bb4..29b7aaa153 100644 --- a/debian/control +++ b/debian/control @@ -287,7 +287,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, ruby-recursive-open-struct (>= 1.1.1~), ruby-http (>= 4.4~), # Sanitize user input - ruby-sanitize (>= 5.2.1~), + ruby-sanitize (>= 6.0~), ruby-babosa (>= 1.0.3~), # Sanitizes SVG input ruby-loofah (>= 2.2~), diff --git a/debian/patches/0180-relax-sanitize.patch b/debian/patches/0180-relax-sanitize.patch new file mode 100644 index 0000000000..c09d29fd4d --- /dev/null +++ b/debian/patches/0180-relax-sanitize.patch @@ -0,0 +1,11 @@ +--- a/Gemfile ++++ b/Gemfile +@@ -258,7 +258,7 @@ + gem 'kubeclient', '~> 4.9','>= 4.9.2' + + # Sanitize user input +-gem 'sanitize', '~> 5.2','>= 5.2.1' ++gem 'sanitize', '~> 6.0' + gem 'babosa', '~> 1.0','>= 1.0.4' + + # Sanitizes SVG input diff --git a/debian/patches/series b/debian/patches/series index 0aa031ace9..cf1bf09f94 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -13,6 +13,7 @@ Gemfile/0140-remove-guard-rspec.patch Gemfile/0150-relax-graphlient.patch Gemfile/0160-relax-rexml.patch Gemfile/0170-relax-ipynbdiff.patch +0180-relax-sanitize.patch nodejs/0010-set-webpack-root.patch nodejs/0020-remove-dev-dependencies.patch nodejs/0030-use-yarnpkg.patch