Reject an insert or update/upload if the docid has white spaces in metacat api
I have a task to handle white spaces in the pids in the dataone production environment:
I checked the code in the create and update method in the member node API of DataONE and found that the document will be rejected if its pid has white spaces.
So I believe those came from the Metacat API. I would like to add the enforcement that Metacat will reject a document if its docid contains white spaces in the inser/upload and update.
If you have any concern, please let me know.