Skip to content

Commit fe5cbcf

Browse files
Merge pull request #66863 from nextcloud/test/noid/fix-unit-test
[stable33] fix(files): Fix other places with same error message after #66832
2 parents 36b70af + eef86f2 commit fe5cbcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/private/Files/View.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@ public function verifyPath($path, $fileName, $readonly = false): void {
19831983
throw new InvalidPathException($l->t('Filename is too long'));
19841984
} catch (InvalidDirectoryException $ex) {
19851985
$l = \OCP\Util::getL10N('lib');
1986-
throw new InvalidPathException($l->t('Dot files are not allowed'));
1986+
throw new InvalidPathException($l->t('Filenames that begin with a dot are not allowed'));
19871987
} catch (EmptyFileNameException $ex) {
19881988
$l = \OCP\Util::getL10N('lib');
19891989
throw new InvalidPathException($l->t('Empty filename is not allowed'));

0 commit comments

Comments
 (0)