API problem with project with period in name

Summary

The API URL https://gitlab.com/api/v4/projects/danhawkes%2Ftodo.txt returns #<API::Entities::BasicProjectDetails:0x00007f28d61c3be8>.

Steps to reproduce

Visit https://gitlab.com/api/v4/projects/danhawkes%2Ftodo.txt

Example Project

https://gitlab.com/api/v4/projects/danhawkes%2Ftodo.txt

What is the current bug behavior?

The API URL https://gitlab.com/api/v4/projects/danhawkes%2Ftodo.txt returns #<API::Entities::BasicProjectDetails:0x00007f28d61c3be8>.

What is the expected correct behavior?

URL returns correct JSON

Relevant logs and/or screenshots

Although this one URL fails, https://gitlab.com/danhawkes/todo.txt works, as does sibling project https://gitlab.com/api/v4/projects/danhawkes%2Fwebsite.

Output of checks

This bug happens on GitLab.com

Results of GitLab environment info

N/A

Possible fixes

I found some 3-4 year old issues caused by period in the project name, but they are closed and I haven't found any currently open issue. Period in the name is just my guess.