dokku / dokku-mongo

a mongo plugin for dokku
MIT License
174 stars 32 forks source link

Validate names #117

Closed josegonzalez closed 5 years ago

josegonzalez commented 5 years ago

We previously allowed a wide range of service names. As the service name is sometimes used to name databases, the name was actually more restricted than any character, resulting in services that wouldn't start. Going forward, only alphanumeric and underscore characters are allowed.

This only impacts service creation. Any services with invalid names should be migrated to a new service, with the data exported and imported as normal.