fix(JSConfig): Add `forbidden_filenames` and `forbidden_filename_characters` to the `oc_config`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Ferdinand Thiessen 2 weeks ago
parent 973f4f0664
commit 54f89f7966
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400

@ -168,7 +168,10 @@ class JSConfigHelper {
$config = [
'auto_logout' => $this->config->getSystemValue('auto_logout', false),
// deprecated
'blacklist_files_regex' => FileInfo::BLACKLIST_FILES_REGEX,
'forbidden_filenames' => \OCP\Util::getForbiddenFilenames(),
'forbidden_filename_characters' => \OCP\Util::getForbiddenFileNameChars(),
'loglevel' => $this->config->getSystemValue('loglevel_frontend',
$this->config->getSystemValue('loglevel', ILogger::WARN)
),

Loading…
Cancel
Save