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

dunglas / go-urlpattern
92%
main: 92%

Build:
Build:
LAST BUILD BRANCH: chore/lint-fixes
DEFAULT BRANCH: main
Repo Added 15 Sep 2024 08:23PM UTC
Token yGjZrxkSLEYRXjo0G6xsg1Sx0WLJ4o8bQ regen
Build 48 Last
Files 6
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/tokenizer-error-swallow
branch: fix/tokenizer-error-swallow
CHANGE BRANCH
x
Reset
Sync Branches
  • fix/tokenizer-error-swallow
  • chore/bump-deps
  • chore/lint-fixes
  • chore/upstream-whatwg-url
  • fix/canonicalize-hash-error
  • fix/process-hash-strip-prefix
  • fix/string-delimiters
  • main
  • perf/duplicate-name-map
  • perf/scheme-lookups
  • spec/conformance
  • test/benchmarks

20 Apr 2026 09:04AM UTC coverage: 91.626% (+0.2%) from 91.441%
24663169211

Pull #4

github

dunglas
fix: propagate tokenizing error on trailing backslash

The escape-at-end branch checked err == nil instead of err != nil,
which caused two failure modes:
- Strict policy: the non-nil error was dropped and the tokenizer's
  index was never advanced, producing an infinite loop.
- Lenient policy: the function returned (nil, nil) after a single
  invalid-char token instead of continuing to tokenize the rest.

Add a regression test that times out if strict tokenization loops.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #4: fix: propagate tokenizing error on trailing backslash

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

1488 of 1624 relevant lines covered (91.63%)

1033.67 hits per line

Relevant lines Covered
Build:
Build:
1624 RELEVANT LINES 1488 COVERED LINES
1033.67 HITS PER LINE
Source Files on fix/tokenizer-error-swallow
  • Tree
  • List 6
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
24663169211 fix/tokenizer-error-swallow fix: propagate tokenizing error on trailing backslash The escape-at-end branch checked err == nil instead of err != nil, which caused two failure modes: - Strict policy: the non-nil error was dropped and the tokenizer's index was never advanced... Pull #4 20 Apr 2026 11:08AM UTC dunglas github
91.63
24663147422 fix/tokenizer-error-swallow fix: propagate tokenizing error on trailing backslash The escape-at-end branch checked err == nil instead of err != nil, which caused two failure modes: - Strict policy: the non-nil error was dropped and the tokenizer's index was never advanced... push 20 Apr 2026 11:07AM UTC dunglas github
91.63
See All Builds (42)

Badge your Repo: go-urlpattern

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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