-
Type: Spec Change
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Component/s: None
-
None
-
Not Needed
We need to clearly define what characters are allowed/disallowed in:
- top-level keys in documents
- keys in sub documents
- database names
- collection names
and make sure MongoDB drivers and shell enforce these rules.
For reference, here's the server documentation on naming restrictions for database and collection names: https://docs.mongodb.com/manual/reference/limits/#naming-restrictions
- is related to
-
PYTHON-1708 Add helpers for validating collection and database names
- Closed
- related to
-
JAVA-1644 NPE on createIndex when the database name contains a "."
- Closed
-
SERVER-26431 Validate the collection name for commands that read documents from a collection
- Closed