[SERVER-55333] Add restriction on collection name to prevent invisible characters like space Created: 19/Mar/21  Updated: 06/Dec/22  Resolved: 18/Apr/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Danny Zhang (Inactive) Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 0
Labels: quick-wins-candidates
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Storage Execution
Participants:

 Description   

End user created a collection with space character at the end of collection name accidentally in a GUI tool, and imported documents by the GUI tool successfully.

Due to space character is invisible in GUI, user didn't find the space character for long time, and encountered issue when tried to query the collection in command (because the space character is missed).

The issue blocked end user for long time, and was reported, investigated, and resolved. Can MongoDB can provide a feature to restrict invisible characters (like space) on collection name? to prevent same issue in the future? Most end users of this service prefer to use GUI tool to manage database, but some invisible character in collection name can cause trouble like above.

 



 Comments   
Comment by Danny Zhang (Inactive) [ 30/Mar/21 ]

Hi eric.sedor, Thank you very much for your help.

I am curious if there is any update.

Generated at Thu Feb 08 05:36:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.