[
https://issues.apache.org/jira/browse/ORCHESTRA-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587032#action_12587032
]
Martin Marinschek commented on ORCHESTRA-21:
--------------------------------------------
To say something more: I would go the same way the portlet bridge is going, and
just exclude javascript: / ftp: protocols.
regards,
Martin
> URLs are always encoded
> -----------------------
>
> Key: ORCHESTRA-21
> URL: https://issues.apache.org/jira/browse/ORCHESTRA-21
> Project: MyFaces Orchestra
> Issue Type: Bug
> Reporter: Matthias Weßendorf
> Assignee: Mario Ivankovits
> Fix For: 2.0
>
>
> In Trinidad some components creates the javascript calls like
> String url = "javascript:TrShuttleProxy._moveItems(.......";
> and than, we internally encode the url.
> Like facesContext.getExternalContext().encodeActionURL(url);
> so... with Orchestra, you now get something like:
> javascript:TrShuttleProxy._movetems(....);?conversationContext=3
> which causes a JS syntax error.
> Fix would be to ignore anything that has a "javascript:" prefix.
> Orchestra should only append the conversationContext if the protocol is http
> or https.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.