Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contained image in MD not loaded while sharing library #6153

Open
de-es opened this issue May 31, 2024 · 0 comments
Open

Contained image in MD not loaded while sharing library #6153

de-es opened this issue May 31, 2024 · 0 comments
Labels

Comments

@de-es
Copy link

de-es commented May 31, 2024

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.

@freeplant freeplant added the bug label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants