Upgrade to 8.3: file upload giving com.pega.pegarules.pub.PRRuntimeException: Illegal characters detected in the path "/StaticCont
Hi Team,
As part of Testing after Upgrade to 8.3 in lower environment, found below issue while select a file for fi upload function.
com.pega.pegarules.pub.PRRuntimeException: Illegal characters detected in the path "/StaticContent/global/ServiceExport/text.txt:". You may not use the following characters:
I couldn't find any fix related to this in any of the posts. Can anyone please help me out.
Solution updated:
Please find the fix below
Chang in java file of pyUploadFile from semicolon(;) to colon (:) .
Old line of code
java.util.StringTokenizer st = new java.util.StringTokenizer(hiddenFileName, ";");
New line of code
java.util.StringTokenizer st = new java.util.StringTokenizer(hiddenFileName, ":");