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

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

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.3.1
DEFAULT BRANCH: master
Ran 30 Nov 2026 03:29PM 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 08:49AM UTC coverage: 77.805% (+0.2%) from 77.597%
46450762608

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

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

1255 of 1613 relevant lines covered (77.81%)

42.54 hits per line

Jobs
ID Job ID Ran Files Coverage
1 46450762608.1 30 Nov 2026 03:29PM UTC 16
77.81
GitHub Action Run
Source Files on build 46450762608
  • 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 (#46380425701)
  • 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