Skip to content

Commit e5333dc

Browse files
committed
Allow more chars in metadata keys
Signed-off-by: Louis Chemineau <louis@chmn.me>
1 parent 1d92a9a commit e5333dc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/FilesMetadata/Model/FilesMetadata.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ private function confirmKeyFormat(string $key): void {
506506
return;
507507
}
508508

509-
throw new FilesMetadataKeyFormatException('key can only contains alphanumerical characters, and dash (-)');
509+
throw new FilesMetadataKeyFormatException('key can only contains alphanumerical characters, and dash (-, _)');
510510
}
511511

512512
/**

0 commit comments

Comments
 (0)