Skip to content

Resolve "Special characters in project name/path prevent users from using the container registry"

What does this MR do?

This updates the Vue component on the registry page so that it can show specific messages for the following scenarios:

  • When there are no containers in the registry
  • When there is an issue connecting to docker due to unsupported characters in the project name/path

The documentation content that was on this registry page has also been removed as per issue: #62770 (closed)

The backend changes that were made to support the new error message will need confirming by a backend engineer and possibly refactored.

A new test was added to app_spec.js to test the display of the new invalid characters error message.

Screenshots

Empty registry

Screenshot_2019-06-19_at_11.58.42

Invalid characters error

Screenshot_2019-06-19_at_11.57.57

User documentation

Screenshot_2019-06-19_at_15.02.47

Admin documentation

Screenshot_2019-06-19_at_15.03.22

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #45104 (closed) Closes #62770 (closed)

Edited by Nick Kipling

Merge request reports