2023-03-22 14:56 AEST by Arthur Barrett - the server should have a way of defining 'allowed' or 'disallowed' patterns for filenames.
eg: do not allow files with spaces in name
The code would check these with a regular expression. If the file matches/does not match the expression
then fail add with a permissions failure (as if the user does not have add rights).
applies to commit (for add and rename). |