lemmy_support·Lemmy SupportbyВежливый_Лис Unable to use .svg image as an avatar.The message says: {"data":{"code":"command-failure","msg":"Invalid media file provided"},"state":"success"} View original on xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf4Comments2
BlackEco lemmy.blackeco.com1Hide 1 replyHonestly, it makes sense that Lemmy refuses to use SVG as profile picture, as they can be used for XSS.3
aaary replyxn--e1aghfa.xn--e1aqbccjfc.xn--p1acfTheoretically .svg-s are parseable, so it is possible to prevent or remove javascript from them programmatically.1
Honestly, it makes sense that Lemmy refuses to use SVG as profile picture, as they can be used for XSS.
Theoretically .svg-s are parseable, so it is possible to prevent or remove javascript from them programmatically.