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

ukeeper / ukeeper-readability / 46516673685
79%
master: 83%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.1
DEFAULT BRANCH: master
Ran 30 Nov 2026 09:26PM UTC
Jobs 1
Files 16
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

30 Nov 2026 09:22PM UTC coverage: 78.896% (+0.04%) from 78.858%
46516673685

Pull #102

github

paskal
Refuse images, PDFs and octet-stream as articles

The HTTP retriever passed successful image and PDF responses to the
article parser without checking their content type.

An answer whose Content-Type is image/*, application/pdf or
application/octet-stream now fails with an error wrapping
ErrBinaryContent before the body is read. A malformed header is judged
by its media type alone. The parser and extract endpoints answer 400
"can't extract content", as for other extraction failures, and
content-parsed-wrong now answers the same instead of a 500. Other types
still go through, since many servers label text pages wrongly.
Cloudflare does not report the target's content type, so the check
covers the HTTP retriever only.
Pull Request #102: Refuse images, PDFs and octet-stream as articles

15 of 15 new or added lines in 2 files covered. (100.0%)

25 existing lines in 1 file now uncovered.

1387 of 1758 relevant lines covered (78.9%)

48.29 hits per line

Coverage Regressions

Lines Coverage ∆ File
25
92.88
0.31% rest/server.go
Jobs
ID Job ID Ran Files Coverage
1 46516673685.1 30 Nov 2026 09:26PM UTC 16
78.9
GitHub Action Run
Source Files on build 46516673685
  • Tree
  • List 16
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #102
  • PR Base - master (#46516227223)
  • Delete
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