Dev server can't differentiate between identically named folders with unique capitalization
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 109
- Forks
- 20
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
Sorry for the somewhat spotty description, but the mechanics of how this works kinda elude me.
If you have two or more files permalinked to identically named folders, with different capitalization (e.g. "/ARTICLES/index.html" and "/articles/index.html"), the dev server appears to randomly pick one of the two folders to prefer. Afterwards, any link to any folder with that name, regardless of capitalization, will redirect to this chosen folder. This is not great since web hosts can tell the difference, so anyone who needs different capitalizations can't test it.
Additionally, the actual folder name shown in the search bar remains identical to the link, even if it's connected to a different folder, so anyone who accidentally capitalizes a folder name somewhere either won't realize they've made a mistake until much later, or will continually get the wrong page for no apparent reason.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with permalinked /ARTICLES/index.html and /articles/index.html, then trace the dev server's path resolution and redirect handling. Done means differently capitalized folders remain distinct, links resolve to the requested folder, and the displayed path matches the folder actually served.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100