Open kelson42 opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
To avoid problems like https://github.com/kiwix/maintenance/issues/198
Given filename is not something we'll have control over, am I right to assume an invalid filename should prevent Book creation on the add_book endpoint?
I'm not 100% sure about the exact behaviour of the CMS in that case but what is sure is that:
OK, we'll discuss this again when working on M2 then.
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions.
Should match something like
/^(.+?_)([a-z\-]{2,10}?_|)(.+_|)([\d]{4}|)\-([\d]{2})$/i