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

go-goyave / goyave / 39964611206
97%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2026 01:52PM UTC
Jobs 1
Files 100
Run time 1min
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

23 Oct 2026 01:41PM UTC coverage: 97.144%. Remained the same
39964611206

push

github

System-Glitch
fsutil: fix zero padding being sniffed in DetectContentType

DetectContentType read into a 512-byte buffer and passed the whole
buffer to http.DetectContentType, ignoring the number of bytes read.
For content shorter than 512 bytes the rest of the buffer is zeros,
and 0x00 is a binary data byte for the MIME sniffing algorithm, so
short text without a BOM was never detected as text.

Uploaded text files under 512 bytes got "application/octet-stream" as
MIMEType (ParseMultipartFiles has no extension fallback), and small
files served with Response.File/Download lacked the charset parameter
that the same content gets at 512 bytes or more.

Only sniff buffer[:n], as net/http does in serveContent.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

2 of 2 new or added lines in 1 file covered. (100.0%)

5681 of 5848 relevant lines covered (97.14%)

278.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 39964611206.1 23 Oct 2026 01:52PM UTC 100
97.14
GitHub Action Run
Source Files on build 39964611206
  • Tree
  • List 100
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 63142be2 on github
  • Prev Build on master (#39961599486)
  • Next Build on master (#41035444867)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc