diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index 35d6424b5acf0..5d281a205a2b4 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -1983,7 +1983,7 @@ public function verifyPath($path, $fileName, $readonly = false): void { throw new InvalidPathException($l->t('Filename is too long')); } catch (InvalidDirectoryException $ex) { $l = \OCP\Util::getL10N('lib'); - throw new InvalidPathException($l->t('Dot files are not allowed')); + throw new InvalidPathException($l->t('Filenames that begin with a dot are not allowed')); } catch (EmptyFileNameException $ex) { $l = \OCP\Util::getL10N('lib'); throw new InvalidPathException($l->t('Empty filename is not allowed'));