cannot modify event if image is an SVG file
Description
I created an event. I modified it to add an SVG image (button upload at top of form). I could validate the form and see the image at the top of the page of the event.
Then I tried to modify the event again by changing the description text, but the form would not validate. The web console showed "ajax call returned error 500 Internal Server Error".
If I upload a png image in place of the SVG, I can modify the text and validate the form.
Expected behaviour:
I would expect SVG images either to work or not work, but not break the form.
Versions
mobilizon.logilab.fr deployed with https://github.com/YunoHost-Apps/mobilizon_ynh
firefox 70
Additional Information
The SVG file I used is available from https://lod-cloud.net/versions/2009-03-05/lod-cloud_colored.svg