Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align database name check in SimpleMongoDbFactory with MongoDB limitations [DATAMONGO-1903] #2804

Closed
spring-projects-issues opened this issue Mar 15, 2018 · 0 comments

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Mar 15, 2018

Mark Paluch opened DATAMONGO-1903 and commented

MongoDB database names are restricted to not contain any of the following characters:

/\. "$

Currently, we enforce database names to only contain letters, numbers, underscores, and dashes.

We should align that rule in SimpleMongoDbFactory to match what MongoDB requires


Affects: 2.1 M1 (Lovelace), 1.10.10 (Ingalls SR10), 2.0.5 (Kay SR5)

Reference URL: https://docs.mongodb.com/manual/reference/limits/#Restrictions-on-Database-Names-for-Unix-and-Linux-Systems

Referenced from: pull request #546

Backported to: 2.0.6 (Kay SR6), 1.10.11 (Ingalls SR11)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants