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

Images in markdown wiki files are not shown because a slash is missing somewhere in django code #923

Open
vmario89 opened this issue Jan 4, 2022 · 1 comment

Comments

@vmario89
Copy link

vmario89 commented Jan 4, 2022

Hi,
i started using the Wiki feature of Seafile some time ago. I use it mostly on regular computer where it works fine to edit .md files to include text, tables, etc. - also images work fine. But now i figured out that the images do not appear in Seadroid on my android phone. They are simple not rendered because there is some URL error. I used Seadroid 2.2.42, setup on Raspberry Pi 3 and nginx as web server.

The logline when opening a md which contains an image says:
2022-01-04 10:48:34,302 [WARNING] django.request:228 log_response Not Found: /lib/4cd3920b-a60d-46ab-95a5-ff0bf44077e1file/images/auto-upload/image-1632750027783.png

There is a slash missing between /lib/4cd3920b-a60d-46ab-95a5-ff0bf44077e1 and file

if i correct this url manually the image shows up properly in a web browser. As this slash is missing somewhere between a URL which scheme's not defined by nginx, but at some internal application code, i think there is a bug inside django code

regards, Mario

@vmario89
Copy link
Author

vmario89 commented Jan 4, 2022

btw. i noticed the most recent seadroid version in google playstore is 2.2.39 which is a lot older. Could you please update this or is there some kind of policy to prohibit uploading the most recent release to the greater public?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant