]> source.dussan.org Git - redmine.git/commit
Validate attachment filenames on every change (#34367).
authorGo MAEDA <maeda@farend.jp>
Fri, 16 Apr 2021 01:36:59 +0000 (01:36 +0000)
committerGo MAEDA <maeda@farend.jp>
Fri, 16 Apr 2021 01:36:59 +0000 (01:36 +0000)
commite41cf61de80bb183abeae8c1674cb7d0ef9d1277
tree7048ac258cd3c7990c8b541f72a3efd600807e94
parent2027b8750aa8f6432cf58fc5b0f8bf15ef8a03d8
Validate attachment filenames on every change (#34367).

Patch by Holger Just.

git-svn-id: http://svn.redmine.org/redmine/trunk@20946 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/models/attachment.rb
lib/plugins/acts_as_attachable/lib/acts_as_attachable.rb
test/unit/attachment_test.rb