Open for Voting

Remove invalid characters from input fields (such as custom properties) Especially ZWSP's

If you copy values from the display of a node to the custom properties of a node you will also copy the ZWSP's in the properties. ZWSP is Zero width space characters and do not display so it is impossible to tell that you have copied extra characters. ZWSP are the characters are Unicode U+200B (0xE0808B, ‘ZERO WIDTH SPACE’). The problem is that the custom properties become corrupted with this data. BTW a good writeup on the issue can be found here: Invisible Characters In Solarwinds Node Custom Properties | #! jetmore  . When the custom property is used as an email address then alerts using that property will not get sent. If the custom property is a enumerated field then you will see two entries that look identical in the summarized list. If it is an url then the url will fail (ZWSP's are illegal in urls'). The easy fix is to remove this and any other invalid characters from the entry when the field is entered.