• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

alexferl / zerohttp / 23009725087 / 1
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 12 Mar 2026 03:27PM UTC
Files 74
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

12 Mar 2026 03:26PM UTC coverage: 93.423% (+0.005%) from 93.418%
23009725087.1

push

github

alexferl
feat: add path traversal protection to static file handler

Add check for ".." in raw URL path before cleaning. Blocks traversal
attempts early with logging. Uses path.Clean (not filepath.Clean) for
URL paths. fs.FS enforces this via fs.ValidPath at Open time as
defense in depth. Includes test for encoded traversal attempts.

Signed-off-by: alexferl <me@alexferl.com>

8367 of 8956 relevant lines covered (93.42%)

45.26 hits per line

Source Files on job 23009725087.1
  • Tree
  • List 74
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23009725087
  • 1da41d7b on github
  • Prev Job for on master (#23009442648.1)
  • Next Job for on master (#23009830151.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc