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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.0
    • 4.1
    • Framework, Portlet
    • None
    • 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

        1. TAPESTRY-802-patch.txt
          21 kB
          Raphael Jean

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: