internal: fix Unicode zero character handling (#841)

A fix was submitted to our dependency, tests added to validate the
problematic scenario.

We also added some fuzz tests to check for additional issues, none were
found.
This commit is contained in:
Maciej Kisiel 2026-03-12 21:54:23 +01:00 • committed by GitHub
commit 724dd47aa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

2
go.mod
View file

@ -6,7 +6,7 @@ require (
github.com/golang-jwt/jwt/v5 v5.3.1
github.com/google/go-cmp v0.7.0
github.com/google/jsonschema-go v0.4.2
github.com/segmentio/encoding v0.5.3
github.com/segmentio/encoding v0.5.4
github.com/yosida95/uritemplate/v3 v3.0.2
golang.org/x/oauth2 v0.35.0
golang.org/x/tools v0.42.0