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

package-url / packageurl-go / 32453765209
89%
master: 89%

Build:
Build:
LAST BUILD BRANCH: type-constants
DEFAULT BRANCH: master
Ran 21 Aug 2026 06:18AM UTC
Jobs 2
Files 1
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

21 Aug 2026 06:09AM UTC coverage: 88.542%. First build
32453765209

Pull #93

github

petergardfjall
Percent-encode sub-delimiters in name/version path segments

Per the purl spec character-encoding section, the only characters that may
appear unencoded in a name or version path segment are alphanumerics, the
unreserved punctuation '-', '.', '_', '~', and the colon ':'. All other
characters — including RFC 3986 sub-delimiters such as '(', ')', '!', '$',
'&', "'", '*', ',', ';', '=' — must be percent-encoded.

Tighten isPathSegmentSafe to the spec's allow-list, drop the now-identical
isSubpathSafe helper, and reuse isPathSegmentSafe from escapeSubpath. Add
a TestRoundtrip case covering spaces, '+', parens, and '*' in name/version
so this surface is no longer untested.
Pull Request #93: Percent-encode sub-delimiters in name/version path segments

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

425 of 480 relevant lines covered (88.54%)

1115.45 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32453765209.1 21 Aug 2026 06:18AM UTC 1
88.54
GitHub Action Run
2 32453765209.2 21 Aug 2026 06:18AM UTC 1
88.54
GitHub Action Run
Source Files on build 32453765209
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #93
  • 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