Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Fields with special characters are not decrypted properly

SA-34376

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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us