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

Page "attachments" paperclip icon uses absolute URL and is rendered as broken image icon with inaccessible base URL

      When accessing Confluence 5.4 through a URL other than its configured base URL, the "files attached" icon on the main page view is still rendered using an absolute URL (based on the base) rather than a relative URL. In the situation where the base URL is inaccessible for whatever reason (proxy server issues or whatever), this yields a broken image icon. See the attached screenshot.

      In this case, the specific IMG SRC for the icon is "http://localhost:8096/s/en_GB-1988229788/4726/ae47f2be84292af5a42aed58ebcd4cb49e436f6e.1/_/download/resources/com.atlassian.confluence.plugins.confluence-page-banner:page-banner-resources/images/grey_attach.png"

      All of the other image assets on the page appear correctly.

        1. attachment-icon.png
          52 kB
          Scott Dudley [Inactive]

            [CONFSERVER-31821] Page "attachments" paperclip icon uses absolute URL and is rendered as broken image icon with inaccessible base URL

            did the attachment icon move to a new place?

            if theres a space logo configured its still in the old place, its kinda confusing

            Stefan Ernst added a comment - did the attachment icon move to a new place? if theres a space logo configured its still in the old place, its kinda confusing

            Hi Scott

            Thanks for the update. We'll take a look at this.

            Regards
            Steve

            Steve Haffenden (Inactive) added a comment - Hi Scott Thanks for the update. We'll take a look at this. Regards Steve

            shaffenden, it looks like a regression: it is working OK (with a relative URL) in my 5.3 instance.

            Scott Dudley [Inactive] added a comment - shaffenden , it looks like a regression: it is working OK (with a relative URL) in my 5.3 instance.

            Hi Scott

            Thanks for raising this issue. Was this issue present in any earlier version of Confluence that you've used or is this something that you have only noticed in 5.4?

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi Scott Thanks for raising this issue. Was this issue present in any earlier version of Confluence that you've used or is this something that you have only noticed in 5.4? Regards Steve Haffenden Confluence Bugmaster Atlassian

              dma@atlassian.com David Ma
              7c60ab039b09 Scott Dudley [Inactive]
              Affected customers:
              0 This affects my team
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: