Uiinfrastructure API Docs  
 

GeneralHelpers.ContainsUnsafeCharacters Method 

Helper method that checks whether or not a string contains unsafe characters, such as angle braces for HTML or curly braces for javascript. This is useful for determining if someone is trying to do a javascript hack.

public static bool ContainsUnsafeCharacters(
   string _strStringIn,
   bool bLogErrors
);

Parameters

_strStringIn
bLogErrors

Return Value

boolean true implies log a message in PTSpy if the string contains unsafe characters.

See Also

GeneralHelpers Class | com.plumtree.uiinfrastructure.statichelpers Namespace