Question
Thingworx and current Chrome flooding the Application log
Hi Everybody,
I have an issue with thingworx and the current chrome version. I get a lot or Errors in Application Log:
Error occurred while validating HTTP header: sec-ch-ua. HTTP header value: sec-ch-ua: Invalid input. Please conform to regex ^[0-9a-zA-Z()\-=\*\.\?;,+\/:&_ %$ ยก-'"]*$ with a maximum length of 2000
So i did following steps:
- Check where Thingworx stores the regex and just changed the order a little bit to [0-9a-zA-Z ...
So I was able to be sure which Rexeg Thingworx uses for the sec-ch-ua header.
It is in file ThingworxStorage\esapi\validation.properties:
Validator.HTTPHeaderValue=^[0-9a-zA-Z()\\-=\\*\\.\\?;,+\\/:&_ %\$ \u00A1-\uFFFF'"]*$ - Check the content of the sec-ch-us of Chrome. It's:
"Chromium";v="86", "\"Not\\A;Brand";v="99", "Google Chrome";v="86" - Ok there is an issue with the string of chrome! The backslaches are not allowed by the regex ...
- So I tried to adopt the Regex and add support for '\' but even with an all allowing Regex "^.*$" I get Error:
- "Error occurred while validating HTTP header: sec-ch-ua. Input validation failur"
- So the error does not display the regex anymore, but still present!
Anyone has an idea?

