GitLab returns 500 when maven package metadata validation regex fails
Summary
GitLab returns 500 when maven package metadata validation regex fails. Wouldn't 400 be more appropriate?
Steps to reproduce
I've created a maven project with ${
on its version and tried to deploy it to GitLab's maven repo.
Example Project
https://gitlab.com/tpresa/maven-test
What is the current bug behavior?
GitLab returns 500
What is the expected correct behavior?
GitLab should return 400
Output of checks
This bug happens on GitLab.com