mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #45374 from nextcloud/feat/add-to-config
feat: Add `forbidden_filename_characters` to JSConfig for use in frontend libraries
This commit is contained in:
commit
b1f9c4bfee
1 changed files with 1 additions and 0 deletions
|
|
@ -169,6 +169,7 @@ class JSConfigHelper {
|
|||
$config = [
|
||||
'auto_logout' => $this->config->getSystemValue('auto_logout', false),
|
||||
'blacklist_files_regex' => FileInfo::BLACKLIST_FILES_REGEX,
|
||||
'forbidden_filename_characters' => Util::getForbiddenFileNameChars(),
|
||||
'loglevel' => $this->config->getSystemValue('loglevel_frontend',
|
||||
$this->config->getSystemValue('loglevel', ILogger::WARN)
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue