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

elixir-mint / mint / 47e48027480228e4e32a0b4df39db497b4804921
88%

Build:
DEFAULT BRANCH: main
Ran 02 Jun 2026 09:52AM UTC
Jobs 1
Files 20
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

02 Jun 2026 09:49AM UTC coverage: 88.114% (+0.02%) from 88.098%
47e48027480228e4e32a0b4df39db497b4804921

push

github

web-flow
Merge commit from fork

`Mint.HTTP1.Parse.content_length_header/1` parsed the header value with
`Integer.parse/1`, which accepts an optional `+`/`-` sign prefix. The
`length >= 0` guard rejected negatives but let values like `+0` or `+123`
through, returning them as valid lengths.

RFC 7230 defines `Content-Length = 1*DIGIT`, with no sign permitted. On a
connection shared with a strict fronting proxy this parser disagreement is a
response-smuggling primitive: the proxy frames the body one way and Mint
another.

Validate that the trimmed value is one or more digits before converting it,
so signs, embedded whitespace, or any non-digit byte are rejected with
`:invalid_content_length_header`.

Fixes GHSA-mjqx-c6f6-7rc2.

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

1364 of 1548 relevant lines covered (88.11%)

242.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 47e48027480228e4e32a0b4df39db497b4804921.1 02 Jun 2026 09:52AM UTC 20
88.11
GitHub Action Run
Source Files on build 47e48027480228e4e32a0b4df39db497b4804921
  • Tree
  • List 20
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 47e48027 on github
  • Prev Build on main (#B8D2393F...)
  • Next Build on main (#FAD09145...)
  • Delete
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