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

raystack / frontier / 27009627415 / 1
43%
main: 43%

Build:
Build:
LAST BUILD BRANCH: fix/upgrade-go-1.26.4
DEFAULT BRANCH: main
Ran 05 Jun 2026 10:32AM UTC
Files 276
Run time 8s
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

05 Jun 2026 10:26AM UTC coverage: 43.406% (+0.2%) from 43.221%
27009627415.1

Pull #1677

github

AmanGIT07
fix(auth): require Bearer/Basic scheme and route exclusively

The Authorization header parser used strings.TrimPrefix, which is a no-op
when the prefix is absent. As a result a bare PAT (no scheme) was treated
as a token, a bare base64 credential was treated as a secret, and every
Bearer header also leaked into the secret slot because both blocks ran
unconditionally. Scheme matching was also case-sensitive, breaking
RFC 7235.

Replace the parser with a small helper that requires the scheme, matches
it case-insensitively via strings.EqualFold, and routes Bearer to
UserTokenGatewayKey and Basic to UserSecretGatewayKey — never both.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Pull Request #1677: fix(auth): require Bearer/Basic scheme and route exclusively

16510 of 38036 relevant lines covered (43.41%)

12.21 hits per line

Source Files on job 27009627415.1
  • Tree
  • List 276
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 27009627415
  • 4b47824c on github
  • Prev Job for on fix-auth-scheme-strict-parsing (#27003374844.1)
  • 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