CodeSampleX

Sample

ParseUnverified returns nil parts when given a token string with extra segment delimiters

sha256:3d6d0c92ff5829606bf0a8c3bbea12e16e0794522048bde5889204b5806f0e46

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
ParseUnverified returns nil parts when given a token string with extra segment delimiters HOW
Packages
github.com/golang-jwt/jwt/v5 v5.2.2
Environment
go
Created
2026-08-17T01:27:14Z

Commonly assumed

ParseUnverified returns a slice containing all split string segments when parsing a malformed token string with extra dot delimiters.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts