This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-361c19f7-b47e-4d9a-ab98-9defe8277b6f XWIKI-24502 Open

Image with name starting with "attach:" is broken in view mode

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-db4f92e7-2957-4019-a987-7e308389f43e LAMBLIN created this issue on 19/Jun/26 15:45
 
Summary: Image with name starting with "attach:" is broken in view mode
Issue Type: cid:jira-generated-image-avatar-361c19f7-b47e-4d9a-ab98-9defe8277b6f Bug
Affects Versions: 17.10.8
Assignee: Unassigned
Components: Image
Created: 19/Jun/26 15:45
Priority: cid:jira-generated-image-static-major-3a85c4df-a7b7-4ff6-904b-6d9078019df9 Major
Reporter: LAMBLIN
Description:

Steps to reproduce:

  • in edit mode, add an image to a page with /image
  • upload an image for which name is starting with "attach:"
  • the image is displayed in edit mode
  • save and quit the edit mode

Expected result: the image is displayed in view mode.

Actual result: the image display is broken in view mode.

Side note: can't upload a test image as Jira is preventing upload of files with ":" in the name.