未验证 提交 d7869ec7 编写于 作者: W Wadeck Follonier 提交者: GitHub

Improve log after SECURITY-626 (#4443)

上级 bf7efb0b
......@@ -91,7 +91,7 @@ public class CrumbFilter implements Filter {
if (crumbIssuer.validateCrumb(httpRequest, crumbSalt, crumb)) {
valid = true;
} else {
LOGGER.log(level, "Found invalid crumb {0}. Will check remaining parameters for a valid one...", crumb);
LOGGER.log(level, "Found invalid crumb {0}. If you are calling this URL with a script, please use the API Token instead. More information: https://jenkins.io/redirect/crumb-cannot-be-used-for-script", crumb);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册