Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.1.4, 1.2.0
-
None
Description
WSRP producers may create urls in a specific format, designed to be re-written by the consumer.
See 10.2.1 of the WSRP spec. These urls are delimited by the start token 'wsrp_rewrite?' and the end token '/wsrp_rewrite'. The current implementation of the PortletResponseImpl doesn't allow these WSRP rewrite urls to be encoded :
public String encodeURL(String path) {
if (path.indexOf("://") == -1 && !path.startsWith("/"))