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

WebResource read/write lock key changed to in lowercase arbitrarily #829

Closed
wants to merge 3 commits into from

Conversation

Chenjp
Copy link
Contributor

@Chenjp Chenjp commented Feb 20, 2025

Discarding the file name case sensitivity of resource directory.

Detection of a directory case sensitivity is expansive, we have to create file with different upper/lower case name and check result.

Based on talk in PR #820 .

To avoid vulnerability, we simply treat all lock key as lowercase.

fix incorrect case sensitivity when the target base directory (dir name not in english) on windows is changed to case sensitive.
Detection of a directory case sensitivity is expansive, we have to create file with different upper/lower case name and check result.

Both Linux and Windows allow case-sensitive/case-insensitive file systems to coexist.

To avoid vulnerability, we simply treat all lock key as lowercase.
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

Successfully merging this pull request may close these issues.

1 participant