Skip to content

http: clean request path from Git endpoints #7022

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

Merged
merged 2 commits into from
Jun 7, 2022
Merged

Conversation

unknwon
Copy link
Member

@unknwon unknwon commented Jun 7, 2022

Describe the pull request

Link to the issue: fixes #7002

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.

@unknwon unknwon requested a review from a team June 7, 2022 12:41
@codecov
Copy link

codecov bot commented Jun 7, 2022

Codecov Report

Merging #7022 (62c5e91) into main (e370657) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main   #7022      +/-   ##
========================================
- Coverage   8.86%   8.86%   -0.01%     
========================================
  Files        100     100              
  Lines      13474   13478       +4     
========================================
  Hits        1195    1195              
- Misses     12112   12116       +4     
  Partials     167     167              

@unknwon unknwon changed the title http: clean directory path from Git endpoints http: clean request path from Git endpoints Jun 7, 2022
@unknwon unknwon merged commit 9bf748b into main Jun 7, 2022
@unknwon unknwon deleted the jc/http-git-path-clean branch June 7, 2022 13:11
dna2github pushed a commit to dna2fork/gogs that referenced this pull request May 1, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 8, 2023
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.

Path Traversal in Git HTTP endpoints
2 participants