]> source.dussan.org Git - redmine.git/commit
Fixes attachments functionality for (custom) plugins broken since fix for CVE-2022...
authorMarius Balteanu <marius.balteanu@zitec.com>
Fri, 22 Dec 2023 02:08:53 +0000 (02:08 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Fri, 22 Dec 2023 02:08:53 +0000 (02:08 +0000)
commitc17b42509b2a79e53d19facfa00fcc16ec401cf9
treebf1b7b3f3f35d34448129b0c35e387cb0d78f23a
parentcb10b529cb4c7413abc1c8b5390f549b38a1220a
Fixes attachments functionality for (custom) plugins broken since fix for CVE-2022-44030 by adding a dynamic routing constraint which can be modified by plugins (#39862).

Patch by @jkraemer.

git-svn-id: https://svn.redmine.org/redmine/trunk@22551 e93f8b46-1217-0410-a6f0-8f06a7374b81
config/routes.rb
lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb
test/fixtures/plugins/redmine_test_plugin_foo/init.rb
test/integration/routing/plugins_test.rb