Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Data Center AttachmentList Macro Bug

Bojan Kalicanin September 25, 2018

Hello,

I am running Confluence Data Center behind the Apache reverse proxy with the context path set, and everything is working find for a months. But in last days I think I have found a bug in the AttachmentList macro. The thing is that when I put this macro on a page, and try to download attachment from the link embedded in it it by default does not take into account the Confluence context path. And if I take a look on Apache reverse proxy log I see that it sends next HTTP request:

10.10.10.63 - - [25/Sep/2018:09:13:23 +0200] "GET /download/attachments/81559553/Whitepaper_Server_DataCenter_Tipping_Point.pdf?version=1&modificationDate=1537859047950&api=v2 HTTP/1.1" 404 274 "https://server/confluence/display/PGT/My+Page" "Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36"

 I have pasted sanitized log with changed server name to "server" and space key "PGT", and page "My+Page". My context path is "confluence".

If i take a look at links embedded in confluence in this macro i see link is:

https://server/download/attachments/81559553/Whitepaper_Server_DataCenter_Tipping_Point.pdf?version=1&modificationDate=1537859047950&api=v2

 

On the other hand, if I take a look at link in another macro, called Attachments, the link is correct:

https://server/confluence/download/attachments/81559553/Whitepaper_Server_DataCenter_Tipping_Point.pdf?api=v2

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events