When Project Path has an Upper Case, lower case pages URL returns 404
Summary
When Project Path has an Upper Case
, lower case pages URL return 404.
- e.g:
- Project Path: https://example.gitlab.com/group/TestProject
- Pages Domain: https://pages.example.gitlab.com
- URL(200 Return, Works): https://group.pages.example.gitlab.com/TestProject
- URL(404 Return): https://group.pages.example.gitlab.com/testproject
Related to: #434372 (comment 1723474801)
Steps to reproduce
Example Project
What is the current bug behavior?
What is the expected correct behavior?
We should follow whatever rules GitLab Rails has for naming a project/namespace.
Since we normalise the path for a project slug, it would make sense to serve the same content for both requests or redirect user to stored project path.
Relevant logs and/or screenshots
Output of checks
Possible fixes
Edited by Naman Jagdish Gala