Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-802

All Tapestry URLs should be encoded using RequestCycle.encodeURL(), except for portlets URLs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: Framework, Portlet
    • Labels:
      None
    • Environment:
      WSRP4J
      Tapestry 4.0rc1

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              jkuhnert Jesse Kuhnert
              Reporter:
              phtouz Raphael Jean
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: