Support Article

Unable to decrypt and display fields with special characters



Fields using OOTB TextEncrypted control cannot display correctly, and are displayed using HTML encoding.

Error Messages

Not Applicable

Steps to Reproduce

  1. Enable URL Encryption in prconfig.xml
  2. Use TextEncrypted Control. 
  3. Fetch the values of TextEncrypted property values in Case summary (review harness - Provided with special characters).

Root Cause

Its a Pegasystems bug, the reported issue occurs when URL encryption is enabled and TextEncrypted control, Special charcters given the TextEncrypted control is not getting decrypted in review harness.


Type: Local Change

if (tools.getAuthorizationHandle().haveAuthorization(tools, className, null, null, raw, page)) { 
returnVal = StringUtils.crossScriptingFilter(tools.getPRCrypto().decryptPropertyValue(property.getStringValue())); 


if (tools.getAuthorizationHandle().haveAuthorization(tools, className, null, null, raw, page)) { 
boolean escapeQuote = tools.getParamAsBoolean(ImmutablePropertyInfo.TYPE_TRUEFALSE,"EscapeQuote"); 
returnVal = tools.getPRCrypto().decryptPropertyValue(property.getStringValue()); 


Published November 21, 2016 - Updated November 22, 2016

Have a question? Get answers now.

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