mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-10-25 21:20:25 +00:00
5d92a69eba
Two code-scanning findings on the dial-diagnostics change. The Cloudflare Access check looked for the Access domain anywhere in the Location header. A redirect to another host whose query or path merely mentions it was reported as an Access login, which sends the operator after a gateway that is not in the path. The target is now parsed and its host compared, so only a redirect that actually points at Access is labelled that way. Covered in both directions, and the negative cases were confirmed to fail against the previous check. The scope-refusal test hashed its own token instead of using the shared helper every other token test uses, which is what the weak-hash finding keys on. Switched to the helper.