Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-20223

Add fine-grained control over how the headless Chrome is accessing XWiki

    XMLWordPrintable

Details

    • Integration
    • Unknown

    Description

      When performing the PDF export on the server-side, using a headless Chrome (either remote or running inside a Docker container), the browser needs to access XWiki, but it cannot always use the same URL as the one triggering the export, e.g. because XWiki is behind some front-end / proxy. The export.pdf.xwikiHost configuration property can help in this case but it may be a bit limited:

      • you can't use a different scheme / protocol (e.g. use HTTP instead of HTTPS when bypassing the front-end / proxy)
      • you can't use a different port (e.g. 8080 instead of 80)
      • you can't specify some custom headers (e.g. to bypass / satisfy some authorization)

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: