Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-11419

Setting Server Base Url to have a different context causes HTML exports to store two files for the one image attachment.

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Steps to reproduce.

      1) Install a standalone copy of confluence. Set the context to be "/confluence" so you access the local instance as "http://localhost:8080/confluence".

      Now suppose the customer has setup a Web server such as Apache that accesses this server using the URL "http://my.confluence.com", thus has no context. (You don't need to setup Apache to reproduce this, simply keep following the below steps.

      2) Change you Server base URL to be "http://my.confluence.com"

      3) Export a space (which has attachments, one of which is an image attachment and is displayed on the page) in html format. You will find that the image attachment is located within the export in both export/confluence/download/attachment/.../.../image.jpg and export/download/attachment/.../../image.jpg.

      To reproduce this behaviour more easily I have included a space export.
      After completing step 1,2 above, do the following.
      a) Import the export into your 2.7.3 install.
      b) export the space as a html file.

      Customers should be able to have two different contexts and still not have a duplicate files in the export.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkamal Partha
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: