Searching for a project with more than one dot in its name returns a not found message
Summary
Searching via the API for a project containing more than one dot in its name returns a 404 not found message, despite the fact that there are matching projects:
Steps to reproduce
I created a project x.y.z in my gitlab.com account. Trying to search for it using the API:
curl --header "PRIVATE-TOKEN: NOT-SHOWN" https://gitlab.com/api/v3/projects/search/x.y.z
{"error":"404 Not Found"}
However searching with a single dot, does return it (although it also returns a second x.z project and others that don't contain the 'x.y' in the name):
curl --header "PRIVATE-TOKEN: NOT-SHOWN" https://gitlab.com/api/v3/projects/search/x.y 2>/dev/null| grep -o name...x....
name":"x.z",
name":"x.y.z
name":"xxl",
name":"xxl",
name":"xromm
name":"xromm
Expected behavior
In the first case I expect to get projects containing "x.y.z" in its name. In the second case, return matching projects only.
Actual behavior
In the first case, no result is given despite there're matches.
Output of checks
This bug happens on GitLab.com.