diff --git a/pkg/cookiebanner/worker.go b/pkg/cookiebanner/worker.go index 908cd8cf1..49345c8b1 100644 --- a/pkg/cookiebanner/worker.go +++ b/pkg/cookiebanner/worker.go @@ -456,7 +456,7 @@ func isUUIDShape(s string) bool { } continue } - if !((ch >= '0' && ch <= '9') || (ch >= 'a' && ch <= 'f') || (ch >= 'A' && ch <= 'F')) { + if (ch < '0' || ch > '9') && (ch < 'a' || ch > 'f') && (ch < 'A' || ch > 'F') { return false } }