Uploaded image for project: 'Hippo Site Toolkit 2'
  1. Hippo Site Toolkit 2
  2. HSTTWO-3943

For SSIAsynchronousComponentWindowRenderer URLs, do not use xml escape the URL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.1
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      From the community software list:

      Lucas Vossberg wrote:

      I did more testing to get chunks of the HTML output delivered to the client. Here are my findings so far:

      ESI processor from HST:
      If one component is marked "async"(ESI) the output is indeed split into chunks. But the actual delivering of the chunks is delayed until all rendering and aggregation is done.

      Nginx with SSI:
      If one component is marked "async"(SSI) the output is split into chunks and Nginx starts streaming to the client before the SSI include got fetched. So this is promising.
      My additions to the Nginx config are:
      ssi on;
      proxy_buffering off;

      Atm I'm stuck with the SSI code generated from the async component:
      <!--#include virtual="/?_hn:type=component-rendering&_hn:ref=r9_r5" -->
      The URL is escaped with escapeXML. If Nginx tries to fetch the URL from Hippo, the whole document is returned. If you URL is not escaped, it works.
      I either need to find a way to change the URL or findout why Hippo doesn't like to escaped version.

      So I've come a step further, but a general solution to allow rendering of partial HTML in the browser is still not there.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                aschrijvers Ard Schrijvers
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: