Current 5.x releases (5.0.8 at time I am reporting this) don't escape tags when generating ObjectName for JMX. Invalid tag name will break ObjectName construction, while an invalid tag value will fail at a later time.
There are also two smaller issues:
- tags can override
name and type
domain is quoted but it doesn't suport quoting, an illegal character will always result in NPE (for : or \n) or an unregistrable pattern (*or?`)
Current 5.x releases (5.0.8 at time I am reporting this) don't escape tags when generating
ObjectNamefor JMX. Invalid tag name will breakObjectNameconstruction, while an invalid tag value will fail at a later time.There are also two smaller issues:
nameandtypedomainis quoted but it doesn't suport quoting, an illegal character will always result in NPE (for:or \n) or an unregistrable pattern (*or?`)