Earlier, all useragents with lowercase alphanum strings of 100 chars without separators were treated as unrecognised for safety (because uap-core regexes are unsafe), but that did not affect uppercase strings.
Timeline:
64b15c94 introduced the original check.
b18cf7c2 added lowercase letters.
687afe420d592488957510989f2e35976e50aa33 added spaces and control to probably evil consecutive strings
This one adds uppercase letters, i.e. case-insensitive comparison while calculating the consecutive length.
Earlier, all useragents with lowercase alphanum strings of 100 chars without separators were treated as unrecognised for safety (because uap-core regexes are unsafe), but that did not affect uppercase strings.
Timeline: