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

NodeBB / NodeBB / 27554239790
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: renovate/husky-9.x
DEFAULT BRANCH: master
Ran 15 Jun 2026 02:46PM UTC
Jobs 4
Files 437
Run time 2min
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

15 Jun 2026 02:41PM UTC coverage: 85.414% (+0.001%) from 85.413%
27554239790

push

github

julianlam
fix(uploads): replace extension-based MIME validation with content sniffing

The validateUploadedFileMime function used mime.getType() which derives MIME type from file extension only, not file content. This allowed a file with an allowed extension (e.g. .jpg) containing non-image content to bypass the upload:post:image privilege check.

Replaced with file-type's fileTypeFromFile() which reads magic bytes from the file header to detect the actual MIME type. For files without magic bytes (text, html, etc.), falls back to extension-based detection via mime.getType().

Added file-type@22.0.1 as a dependency in install/package.json.

Assisted-by: unsloth/Qwen3.6-35B-A3B-GGUF

14105 of 19257 branches covered (73.25%)

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

29454 of 34484 relevant lines covered (85.41%)

3475.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 ubuntu-latest-node-24-db-mongo - 27554239790.1 15 Jun 2026 02:47PM UTC 410
84.87
GitHub Action Run
2 ubuntu-latest-node-24-db-mongo-dev - 27554239790.2 15 Jun 2026 02:47PM UTC 411
84.91
GitHub Action Run
3 ubuntu-latest-node-24-db-redis - 27554239790.3 15 Jun 2026 02:46PM UTC 410
84.93
GitHub Action Run
4 ubuntu-latest-node-24-db-postgres - 27554239790.4 15 Jun 2026 02:47PM UTC 409
84.8
GitHub Action Run
Source Files on build 27554239790
  • Tree
  • List 437
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #27554239790
  • 66800601 on github
  • Prev Build on develop (#27505577890)
  • Next Build on develop (#27560078687)
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