[安全性] 在五个控制台身份验证路径上,非 ASCII 凭据返回 HTTP 500 而不是 401 (hmac.compare_digest 会引发 TypeError)
作者: aniruddhaadak80创建于 2026年9月29日更新于 2026年9月29日
A wrong credential produces a 500 instead of a 401, on endpoints that need no authentication to reach.
hmac.compare_digest() raises TypeError when a str operand contains non-ASCII characters:
内容来源: zhayujie/CowAgent