Skip to content

Commit

Permalink
Allow more chars in metadata keys
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Nov 6, 2023
1 parent 1d92a9a commit e5333dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/FilesMetadata/Model/FilesMetadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ private function confirmKeyFormat(string $key): void {
return;
}

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

/**
Expand Down

0 comments on commit e5333dc

Please sign in to comment.