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 2007/08/20 07:27:30 UTC

[jira] Updated: (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 updated PLUTO-417:
---------------------------------

    Affects Version/s: 1.2.0

> 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
>
> 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.