Skip to content

Update static.go

eb4800d
Select commit
Loading
Failed to load commit list.
Merged

🧹 chore: Improve static middleware security #3595

Update static.go
eb4800d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 20, 2025 in 0s

90.92% (-0.02%) compared to f4ad118

View this Pull Request on Codecov

90.92% (-0.02%) compared to f4ad118

Details

Codecov Report

Attention: Patch coverage is 77.77778% with 8 lines in your changes missing coverage. Please review.

Project coverage is 90.92%. Comparing base (f4ad118) to head (eb4800d).

Files with missing lines Patch % Lines
middleware/static/static.go 77.77% 5 Missing and 3 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3595      +/-   ##
==========================================
- Coverage   90.94%   90.92%   -0.02%     
==========================================
  Files         111      111              
  Lines       11195    11230      +35     
==========================================
+ Hits        10181    10211      +30     
- Misses        761      764       +3     
- Partials      253      255       +2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.