Skip to content

Contained image in MD not loaded while sharing library #6153

@de-es

Description

@de-es

11.0.9 CE

Steps to reproduce:

  • Go to a library
  • Place an image in the library
  • Create and edit a new markdown document
  • Insert library image into the document and save
  • Share the document directly via Share Link

Everything works as expected (= image will be loaded and shown) except the image alt attribute shows Image_loading_failed:

<img class="sf-image" alt=" Image_loading_failed" src="https://mypersonalcloud.com/view-image-via-share-link/?token=43a2a881da9a43b689aa&amp;path=/testimage.jpg">

Now share the whole library containing the image and the document. Open the shared link and then open the document. The image is not loaded even though the corresponding HTML code is exactly the same as before.

But the server responds differently now. Instead of returning the image, it returns a HTML page (200) containing the error message Invalid file type. The request is also the same as before and there are no errors in the log files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions