Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to make this case-sensitive when using a system like Windows that is not case-sensitive in the file names? #3018

Open
rborcherds opened this issue Oct 1, 2024 · 0 comments

Comments

@rborcherds
Copy link

I'm submitting a feature request to make the live server be case-sensitive

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ X] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

On a MAC and Windows machine this is not case-sensitive and teaching new web developers they do not always use the proper case in their code so it will work on Windows but breaks when they push a web server that is case-sensitive. Other platforms can have this issue if they turn off case-sensitivity which is on by default on Linux and Mac system by default.

Expected behavior

Let's take images for example. If the filename has an uppercase letter in it and the HTML code <img src...) tag uses all lowercase it should fail to display the image due to the case not matching in the filename. This is the way most web servers work that are not on Windows.

Environment

Browser:

All browsers behave the same


For Tooling issues:

- Live Server: All version
- Platform:  MAC & Windows
- Visual Studio Code: All versions.

Others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant