[
https://issues.apache.org/jira/browse/PORTLETBRIDGE-88?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Freedman resolved PORTLETBRIDGE-88.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.0.0
> ExternalContext.encodeActionURL doesn't parse portlet: URLs correctly
> ---------------------------------------------------------------------
>
> Key: PORTLETBRIDGE-88
> URL: https://issues.apache.org/jira/browse/PORTLETBRIDGE-88
> Project: MyFaces Portlet Bridge
> Issue Type: Bug
> Components: Impl
> Affects Versions: 1.0.0-beta, 2.0.0-alpha
> Reporter: Michael Freedman
> Assignee: Michael Freedman
> Fix For: 1.0.0, 2.0.0
>
>
> Code:
> if (isPortletURL(url))
> {
> isPortletURL = true;
> nonFacesAction = true;
> //URL is of the form scheme:urlType?queryString
> // remove the scheme
> path = url.substring(url.indexOf(":")+ 1);
> queryStart = url.indexOf('?');
> Should be
> if (isPortletURL(url))
> {
> isPortletURL = true;
> nonFacesAction = true;
> //URL is of the form scheme:urlType?queryString
> // remove the scheme
> path = url.substring(url.indexOf(":")+ 1);
> queryStart = path.indexOf('?');
> I.e. the last line should locate the start of the query string from the
> schemeless url.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.