Protected environment name with dot character cannot be updated
Summary
Protected environments that contain a dot ('.') character on their names cannot be updated with new deployment rules after creation.
Steps to reproduce
- Create a protected environment with a dot ('.') character on its name.
- Attempt to add a new deployment rule after creation by adding a new user as "Allowed to deploy".
- The change is not recorded.
Recording:
What is the current bug behavior?
Protected environment configuration is not updated.
What is the expected correct behavior?
Protected environment configuration is updated.
Relevant logs and/or screenshots
Via the web console and attempting the update via the Protected environments API results in:
404 not found
Output of checks
This bug happens on GitLab.com
Edited by Alejandro Guerrero