From ab1d1eb767d2c0922c720c372e099285fa46d322 Mon Sep 17 00:00:00 2001 From: "karel.picman@lbcfree.net" Date: Wed, 30 Sep 2020 13:10:12 +0200 Subject: [PATCH] Failed to PUT files which includes some characters via WebDAV #1178 --- app/models/dmsf_folder.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/dmsf_folder.rb b/app/models/dmsf_folder.rb index 1e196386..eefc5003 100644 --- a/app/models/dmsf_folder.rb +++ b/app/models/dmsf_folder.rb @@ -44,7 +44,7 @@ class DmsfFolder < ActiveRecord::Base class_name: 'DmsfLock', foreign_key: 'entity_id', dependent: :destroy has_many :dmsf_folder_permissions, dependent: :destroy - INVALID_CHARACTERS = '\[\]\/\\\?":<>#%\*' + INVALID_CHARACTERS = '\/\\\?":<>#%\*' STATUS_DELETED = 1 STATUS_ACTIVE = 0 AVAILABLE_COLUMNS = %w(id title size modified version workflow author).freeze