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

fix(db): correctly check Git path on case-insensitive file system #7359

Merged
merged 2 commits into from Feb 18, 2023

Conversation

unknwon
Copy link
Member

@unknwon unknwon commented Feb 18, 2023

Describe the pull request

On case-insensitive file system, .Git is treated as .git so we need to be able to handle mixed cases.

Link to the issue: fixes #7030

Checklist

  • I agree to follow the Code of Conduct by submitting this pull request.
  • I have read and acknowledge the Contributing guide.
  • I have added test cases to cover the new code.

@codecov
Copy link

codecov bot commented Feb 18, 2023

Codecov Report

Merging #7359 (0c4e6cf) into main (0f8c71d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7359   +/-   ##
=======================================
  Coverage   14.63%   14.63%           
=======================================
  Files         108      108           
  Lines       13880    13881    +1     
=======================================
+ Hits         2031     2032    +1     
  Misses      11575    11575           
  Partials      274      274           

@unknwon unknwon merged commit 15d0d6a into main Feb 18, 2023
@unknwon unknwon deleted the jc/repo-git-path branch February 18, 2023 14:15
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OS Command Injection in repo editor on case-insensitive file systems
1 participant