mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 08:05:12 +00:00
go-sdk v1.4.1 fixes GO-2026-4773 (cross-site tool execution) and GO-2026-4770 (null Unicode JSON parsing), which fail govulncheck. v1.4.1 also adds transport-level cross-origin and Content-Type checks that would reject requests Authenticate already accepts: - trust the same allowed origins in the SDK's CrossOriginProtection so CORS-allowlisted browser clients are not refused with 403; - accept application/json with parameters (e.g. charset) by normalizing the header, while still refusing non-JSON bodies with 415.