This issue has been created
 
 
Cristal / cid:jira-generated-image-avatar-f86310ea-a0d4-4635-a34e-302870646b74 CRISTAL-624 Open

Internal images are badly rendered on view with github

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-f23a3eae-d89b-43d4-bd40-638b16e0ad31 Manuel Leduc created this issue on 06/Aug/25 14:11
 
Summary: Internal images are badly rendered on view with github
Issue Type: cid:jira-generated-image-avatar-f86310ea-a0d4-4635-a34e-302870646b74 Bug
Affects Versions: 0.15
Assignee: Unassigned
Components: Backend - Github
Created: 06/Aug/25 14:11
Priority: cid:jira-generated-image-static-major-9888e206-2bf2-4c7a-b968-8a3962ed67b3 Major
Reporter: Manuel Leduc
Description:

Reproduction steps

  1. edit a page on a GitHub backend
  2. insert a new image by uploading it
  3. observe that the image is displayed
  4. save and view the page
  5. observe that the image is displayed

Expected

The image is displayed in steps 3 and 5.

Actual

The image is only displayed in step 3, and not in step 5.

The image is also not displayed if editing again the page.

This is because, when uploading, the uploading endpoints returns the public url of the image, in the form https://raw.githubusercontent.com/USER/REPO/BRANCH/PATH?token=SOMETOKEN

But on save, something like ![[ATTACHMENT_REFERENCE]] is persisted, which is converted back to an url.

  1. this convertion method is not producing the right url
  2. the url must contain the token