Skip to content

Commit

Permalink
Update lib/private/Files/FilenameValidator.php
Browse files Browse the repository at this point in the history
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux and come-nc authored Jul 9, 2024
1 parent 5d3a0ae commit 91820db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Files/FilenameValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function getForbiddenCharacters(): array {
// Get admin defined invalid characters
$additionalChars = $this->config->getSystemValue('forbidden_filename_characters', []);
if (!is_array($additionalChars)) {
$this->logger->error('Invalid system config value for "forbidden_chars" is ignored.');
$this->logger->error('Invalid system config value for "forbidden_filename_characters" is ignored.');
$additionalChars = [];
}
$forbiddenCharacters = array_merge($forbiddenCharacters, $additionalChars);
Expand Down

0 comments on commit 91820db

Please sign in to comment.