Support Article
Fields with special characters are not decrypted properly
Summary
A property of type TextEncrypted has value containing special character for example, Kristi O'Neal.
This value is decrypted and displayed using ShowTextEncryptedPropertyValue Out-of-the-box (OOTB) control.
The decrypted result is not displayed properly in UI. Values are displayed in HTML encoding.
Error Messages
Not Applicable
Steps to Reproduce
1. Create a textencrypted property.
2. Follow the below PDN articles to configure site specific cipher:
https://pdn.pega.com/sites/default/files/help_v718/procomhelpmain.htm#rule-/rule-obj-/rule-obj-property/encryption.htm
https://pdn.pega.com/sites/default/files/help_v718/howto/howto2/howencryptstoragestream.htm
https://pdn.pega.com/security/how-to-encrypt-passwords-properties-and-blobs
3. Configure a form with the textencrypted property.
Root Cause
A defect in Pegasystems’ code or rules.
In the HFix-32136, Changes are provided to not use the function StringUtils.crossScriptingFilter method. However, user used the method in their custom library function.
Resolution
Perform the following local-change:
After installing the HFix-32136, make sure that StringUtils.crossScriptingFilter is not used for encrypted properties while manipulating these properties using custom library functions.
Published March 15, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.