From: Go MAEDA Date: Sun, 11 Jun 2023 07:58:34 +0000 (+0000) Subject: Redmine 4.2 on Ruby 2.4 is not compatible with Loofah 2.21 or higher (#38617). X-Git-Tag: 4.2.11~12 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=497762a0eeee33ec15032318d7faa6de3a7f256a;p=redmine.git Redmine 4.2 on Ruby 2.4 is not compatible with Loofah 2.21 or higher (#38617). Patch by Anton Nekrasov. git-svn-id: https://svn.redmine.org/redmine/branches/4.2-stable@22255 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/Gemfile b/Gemfile index cad8604e4..b9bc46ac4 100644 --- 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]