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

dunglas / httpsfv
92%
master: 93%

Build:
Build:
LAST BUILD BRANCH: reject-nan-decimal
DEFAULT BRANCH: master
Repo Added 26 Aug 2020 06:50PM UTC
Files 18
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

LAST BUILD ON BRANCH fix-maximal-length-number
branch: fix-maximal-length-number
CHANGE BRANCH
x
Reset
  • fix-maximal-length-number
  • chore/go1.19
  • ci/modernize
  • decimal-fix
  • dependabot/submodules/structured-field-tests-00462dd
  • feat/rfc
  • feat/rfc9651
  • fix-ci-submodule-and-multiline-join
  • fix/linter
  • main
  • master
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • refs/tags/v1.0.2
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • reject-nan-decimal
  • tests/fuzz

07 Sep 2026 03:04AM UTC coverage: 91.561% (-0.7%) from 92.214%
34078401663

Pull #15

github

youdie006
fix: Do not reject a maximal-length number followed by a delimiter

parseNumber evaluates the length bound at the top of the loop, before
looking at the next character, so a 15-digit integer or 16-character
decimal fails as soon as anything follows it. RFC 9651 section 4.2.4
appends the character first and fails only when input_number already
holds more than 15 or 16 characters, so those inputs are valid.

marshalInteger allows the full +/-999999999999999 range, so the library
emits headers it cannot read back: Marshal of a list containing
123456789012345 and 1 gives '123456789012345, 1', and UnmarshalList of
that string returns 'integer or decimal out of range: character 15'.

Move the check after the digit is consumed and compare with > instead
of >=, matching the form the '.' branch already uses.
Pull Request #15: fix: Do not reject a maximal-length number followed by a delimiter

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

651 of 711 relevant lines covered (91.56%)

46.07 hits per line

Relevant lines Covered
Build:
Build:
711 RELEVANT LINES 651 COVERED LINES
46.07 HITS PER LINE
Source Files on fix-maximal-length-number
  • Tree
  • List 18
  • Changed 18
  • Source Changed 0
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
34078401663 fix-maximal-length-number fix: Do not reject a maximal-length number followed by a delimiter parseNumber evaluates the length bound at the top of the loop, before looking at the next character, so a 15-digit integer or 16-character decimal fails as soon as anything follow... Pull #15 14 Sep 2026 02:37PM UTC youdie006 github
91.56
See All Builds (55)
  • Repo on GitHub
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