Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0.0
-
None
Description
PortalURLParserImpl doubly encodes public/private render parameters into the path portion of the ResourceURL but on return its parser only decodes once.
See encodeMultiValues() to see the double encoding.
Look at decodePublicParameter() to see the single decode. Instead this method should use the same decoding strategy as decodeParameter(). namely it needs the following code added after the call to split up the values into an array of values:
for (int i = 0; i < paramValues.length;i++){
try
catch (UnsupportedEncodingException e)
{ LOG.warn(e.getMessage(),e); }}