]> source.dussan.org Git - redmine.git/commitdiff
Redmine 4.2 on Ruby 2.4 is not compatible with Loofah 2.21 or higher (#38617).
authorGo MAEDA <maeda@farend.jp>
Sun, 11 Jun 2023 07:58:34 +0000 (07:58 +0000)
committerGo MAEDA <maeda@farend.jp>
Sun, 11 Jun 2023 07:58:34 +0000 (07:58 +0000)
Patch by Anton Nekrasov.

git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@22255 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile

diff --git a/Gemfile b/Gemfile
index cad8604e4698aaf08acf97dfa2da2951709863ad..b9bc46ac47c87ddf2023ab93e09e2cff875aab69 100644 (file)
--- a/Gemfile
+++ b/Gemfile
@@ -26,6 +26,7 @@ gem 'rbpdf', '~> 1.21.0'
 gem 'addressable'
 gem 'rubyzip', '~> 2.3.0'
 gem 'psych', '~> 3.1' if Gem.ruby_version < Gem::Version.new('2.6.0')
+gem 'loofah', '<= 2.20.0' if Gem.ruby_version < Gem::Version.new('2.5.0')
 
 # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
 gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]