[ http://issues.apache.org/jira/browse/TAPESTRY-802?page=all ]
Jesse Kuhnert resolved TAPESTRY-802:
------------------------------------
Resolution: Fixed
Re-factored EngineServiceLink to optionally use IRequestCycle to encode the
resulting url, depending on whether or not it is specified in the constructor.
(ie tapestry core doesn't pass it into constructor while
PortletAssetLinkFactory does)
> All Tapestry URLs should be encoded using RequestCycle.encodeURL(), except
> for portlets URLs
> --------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-802
> URL: http://issues.apache.org/jira/browse/TAPESTRY-802
> Project: Tapestry
> Type: Bug
> Components: Framework, Portlet
> Versions: 4.0
> Environment: WSRP4J
> Tapestry 4.0rc1
> Reporter: Raphael Jean
> Assignee: Jesse Kuhnert
> Priority: Minor
> Fix For: 4.1
> Attachments: TAPESTRY-802-patch.txt
>
> All Tapestry URLs referencing the Tapestry servlet or context assets should
> be encoded using RequestCycle.encodeURL() whether the link is stateless or
> not.
> In portlet mode, the portlet URLs obtained by createActionURL() or
> createRenderURL() should NOT be encoded.
> Failure to do so causes problems when running as a WSRP producer where the
> URLs will be WSRP defined tokens that get re-written by the WSRP container.
> Action, render and resource URLs are encoded differently.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]