PortletResponseImpl doesn't allow wsrp rewrite urls
---------------------------------------------------
Key: PLUTO-417
URL: https://issues.apache.org/jira/browse/PLUTO-417
Project: Pluto
Issue Type: Improvement
Components: portlet container
Affects Versions: 1.1.4
Reporter: Elliot Metsger
Assignee: Elliot Metsger
Priority: Minor
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("/")) {
throw new IllegalArgumentException(
"Only absolute URLs or full path URIs are allowed. Offending
url: [" + path + "]" );
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.