Merge commit from fork
getToken() called decodeURIComponent() on the Authorization Bearer value outside any error handling, so a request with a malformed percent-encoded token (e.g. `Authorization: Bearer %`) threw an uncaught URIError to the caller. Treat malformed encodings as an invalid token and return null, matching how undecodable tokens are already handled. Fixes GHSA-xmf8-cvqr-rfgj
B
Bereket Engida committed
e707770f00c52b3479e43422b0200b059149ed53
Parent: 53c7e2f
Committed by GitHub <noreply@github.com>
on 6/11/2026, 6:54:53 PM