Support Article
URL obfuscation with non-ascii characters in return stream
SA-31198
Summary
When submitting a request which returns a URL with non-ASCII characters, if URL obfuscation is enabled, the encryption process fails due to incorrect byte array length.
Error Messages
On Screen Error:
Status fail
Message There has been an issue; please consult your system administrator
Operator ID BPMSAdmin2
Requestor ID HEE185566B1944D134EA3EBC423D32827
Log Error:
Caused by:
javax.crypto.IllegalBlockSizeException: Input length not multiple of 16 bytes
at com.ibm.crypto.provider.AESCipher.a(Unknown Source)
at com.ibm.crypto.provider.AESCipher.engineDoFinal(Unknown Source)
at com.ibm.crypto.provider.AESCipher.engineDoFinal(Unknown Source)
at javax.crypto.Cipher.doFinal(Unknown Source)
at com.pega.pegarules.exec.internal.util.crypto.PRCipherBase.encrypt(PRCipherBase.java:208)
Steps to Reproduce
- Turn on URL encryption.
- Create a work object and perform an action on the work object which will return a URL containing non-ASCII characters.
- Observe the onscreen and log errors.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Apply HFix-30629.
Published December 14, 2016 - 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.