Вежливый_Лис@xn--e1aghfa.xn--e1aqbccjfc.xn--p1acf to Lemmy Support@lemmy.ml · 18 hours agoUnable to use .svg image as an avatar.message-squaremessage-square3linkfedilinkarrow-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 hours agomessage-square3linkfedilinkfile-text
The message says: {"data":{"code":"command-failure","msg":"Invalid media file provided"},"state":"success"}
minus-squareBlackEco@lemmy.blackeco.comlinkfedilinkarrow-up3·14 hours 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-23 hours 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.