How to prevent media library from changing svg-file to html? · stephenmcd mezzanine · Discussion #2055 · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I upgraded my Mezzanine 4.2.0/ Django 1.8.19/ Python 2.7.18- based server to Mezzanine 6.0.0/ Django 3.2/ Python 3.7.
After upgrade I noticed that media library (using filebrowser-safe 1.1.1) stores the uploaded svg-files as HTML documents that cannot be embedded as part of page content any more.
I can only embed svg-files uploaded by the old server (that used filebrowser-safe 0.5.0) into my pages. Please see the output of the linux file-command in the attachment. svgt.txt
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I upgraded my Mezzanine 4.2.0/ Django 1.8.19/ Python 2.7.18- based server to Mezzanine 6.0.0/ Django 3.2/ Python 3.7.
After upgrade I noticed that media library (using filebrowser-safe 1.1.1) stores the uploaded svg-files as HTML documents that cannot be embedded as part of page content any more.
I can only embed svg-files uploaded by the old server (that used filebrowser-safe 0.5.0) into my pages. Please see the output of the linux file-command in the attachment.
svgt.txt
Beta Was this translation helpful? Give feedback.
All reactions