Skip to content

Fix templates API endpoint when project name has dots

What does this MR do?

In the project templates endpoint get ':id/templates/:type/:name', we set the requirements to { name: /[\w%.+-]+/ }. This overrides the global requirement that configures the id to allow project names with dots. We should merge both conditions to allow dots everywhere.

Refs #26851 (closed)

Does this MR meet the acceptance criteria?

Conformity

Merge request reports