Skip to content

Commit

Permalink
Merge pull request #45374 from nextcloud/feat/add-to-config
Browse files Browse the repository at this point in the history
feat: Add `forbidden_filename_characters` to JSConfig for use in frontend libraries
  • Loading branch information
susnux authored May 16, 2024
2 parents 2fa72c6 + dd4901d commit b1f9c4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Template/JSConfigHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ public function getConfig(): string {
$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)
),
Expand Down

0 comments on commit b1f9c4b

Please sign in to comment.