Uploaded image for project: 'Pluto'
  1. Pluto
  2. PLUTO-417

PortletResponseImpl doesn't allow wsrp rewrite urls

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.1.4, 1.2.0
    • 1.1.5, 2.0.0
    • portlet container
    • None

    Description

      WSRP producers may create urls in a specific format, designed to be re-written by the consumer.

      See 10.2.1 of the WSRP spec. These urls are delimited by the start token 'wsrp_rewrite?' and the end token '/wsrp_rewrite'. The current implementation of the PortletResponseImpl doesn't allow these WSRP rewrite urls to be encoded :

      public String encodeURL(String path) {
      if (path.indexOf("://") == -1 && !path.startsWith("/"))

      { throw new IllegalArgumentException( "Only absolute URLs or full path URIs are allowed. Offending url: [" + path + "]" ); }

      Attachments

        Activity

          People

            emetsger Elliot Metsger
            emetsger Elliot Metsger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: