return KeywordSource.UnsafeRedirect;
case "self":
case "unsafe-inline":
case "unsafe-eval":
case "unsafe-redirect":
<BUG>case "none":
this.warn("This host name is unusual, and likely meant to be a keyword that is missing the required quotes: \'" + token.value.toLowerCase() + "\'");
default:
if (token.value.startsWith("'nonce-")) {

String nonce = token.value.substring(7, token.value.length() - 1);
NonceSource nonceSource = new NonceSource(nonce);</BUG>
nonceSource.validationErrors().forEach(this::warn);

return KeywordSource.UnsafeRedirect;
case "self":
case "unsafe-inline":
case "unsafe-eval":
case "unsafe-redirect":
case "none":
this.warn(
"This host name is unusual, and likely meant to be a keyword that is missing the required quotes: \'"
+ sourceExpression.toLowerCase() + "\'");
default:
if (sourceExpression.startsWith("'nonce-")) {
String nonce = sourceExpression.substring(7, sourceExpression.length() - 1);
NonceSource nonceSource = new NonceSource(nonce);
nonceSource.validationErrors().forEach(this::warn);
