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

v3: Improve path validation in Static Middleware #3105

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Update static.go

63afcdf
Select commit
Loading
Failed to load commit list.
Open

v3: Improve path validation in Static Middleware #3105

Update static.go
63afcdf
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Aug 21, 2024 in 0s

80.72% (-0.06%) compared to 25e3992

View this Pull Request on Codecov

80.72% (-0.06%) compared to 25e3992

Details

Codecov Report

Attention: Patch coverage is 25.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 80.72%. Comparing base (25e3992) to head (63afcdf).

Files Patch % Lines
middleware/static/static.go 25.00% 4 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3105      +/-   ##
==========================================
- Coverage   80.77%   80.72%   -0.06%     
==========================================
  Files         116      116              
  Lines        8850     8858       +8     
==========================================
+ Hits         7149     7151       +2     
- Misses       1302     1306       +4     
- Partials      399      401       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.