Вежливый_Лис@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf to Lemmy Support@lemmy.ml · 18 days agoUnable to use .svg image as an avatar.message-squaremessage-square3fedilinkarrow-up14arrow-down10file-text
arrow-up14arrow-down1message-squareUnable to use .svg image as an avatar.Вежливый_Лис@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf to Lemmy Support@lemmy.ml · 18 days agomessage-square3fedilinkfile-text
The message says: {"data":{"code":"command-failure","msg":"Invalid media file provided"},"state":"success"}
minus-squareBlackEco@lemmy.blackeco.comlinkfedilinkarrow-up4·18 days agoHonestly, it makes sense that Lemmy refuses to use SVG as profile picture, as they can be used for XSS.
minus-squareaary@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acflinkfedilinkarrow-up1·edit-218 days agoTheoretically .svg-s are parseable, so it is possible to prevent or remove javascript from them programmatically.
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.