There are 6 updates, 3 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-fbff41f7-8831-41bb-8e80-09e5a58dd587 XWIKI-23342 Closed

Attachment deletion fails (https/http mixed content)

 
View issue   ยท   Add comment
 

6 updates

 
cid:jira-generated-image-avatar-d62bcefa-3fd2-45fb-926b-d55da3105eac Changes by Vincent Massol on 03/Jul/25 12:23
 
Documentation in Release Notes: N/A
Documentation: N/A
Assignee: Vincent Massol
Resolution: Cannot Reproduce
Labels: bugfixingday
Status: Open Closed
 
 

3 comments

 
cid:jira-generated-image-avatar-d62bcefa-3fd2-45fb-926b-d55da3105eac Vincent Massol on 03/Jul/25 12:18
 

Hello, I've checked at https://www.xwikiplayground.org/xwiki/bin/view/Sandbox/#Attachments and I can see that all links are HTTPS.

I believe you have a configuration issue somewhere. I'm tempted to close this issue as cannot reproduce.

 
cid:jira-generated-image-avatar-d62bcefa-3fd2-45fb-926b-d55da3105eac Vincent Massol on 03/Jul/25 12:22
 

The code is at https://github.com/xwiki/xwiki-platform/blob/a46b2b47e3e1eae1849b417a62110790c43f6598/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/attachment_macros.vm#L146-L152 and I see no reason that $xwiki.getURL($attachment.getReference()) would not return a URL with HTTPS (this api is used in lots of other places in the XWiki UI).

 
cid:jira-generated-image-avatar-d62bcefa-3fd2-45fb-926b-d55da3105eac Vincent Massol on 03/Jul/25 12:22
 

Closing for now, we'll reopen if more info is provided.