You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "Elliot Metsger (JIRA)" <ji...@apache.org> on 2008/01/06 09:18:34 UTC
[jira] Resolved: (PLUTO-417) PortletResponseImpl doesn't allow wsrp
rewrite urls
[ https://issues.apache.org/jira/browse/PLUTO-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliot Metsger resolved PLUTO-417.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.2.0)
2.0.0
Updated fix versions.
Applied to 1.1-286-trunk-merge branch r609273. Had to update the unit test to accommodate 286 cache control and new class hierarchy for PortletResponseImpl.
> 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.2.0, 1.1.4
> Reporter: Elliot Metsger
> Assignee: Elliot Metsger
> Priority: Minor
> Fix For: 2.0.0, 1.1.5
>
>
> 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.