YunoHost-Apps / dokuwiki_ynh

Dokuwiki package for YunoHost
https://www.dokuwiki.org/dokuwiki
GNU General Public License v3.0
11 stars 15 forks source link

Images altered/broken in process of uploading #76

Closed EmpressFiona closed 3 years ago

EmpressFiona commented 3 years ago

Everything I've tried on this app is working brilliantly with no issues...except the image uploading. This is kind of a problem!

Going into the shell, I couldn't figure out what the issue was - the images are in the proper place, and they're the same size. So I downloaded a file, compared it to the original, and...

image

See the problem? The copy from the server is on the left - four bytes have been added to it at the very beginning, specifically the bytes 20202020, that is, the ASCII code for 'space'. The original is on the right, and doesn't have those four extra bytes, but the data is otherwise identical. It's clearly being altered somewhere in transit. I tried using ImageMagick instead, but no dice, so it's probably on the YunoHost configuration end - although I don't even know what log to look at.

I haven't had problems installing plugins or themes, it's only been uploading images. I can work around it, but that's still less than ideal.

EmpressFiona commented 3 years ago

Issue unrelated, was due to a malformed plugin PHP string. Issue been reported upstream.