Tapestry
  1. Tapestry
  2. TAPESTRY-802

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor 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.

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development