James Endicott on Nostr: Interesting. The SVG Optimizer that I use runs on a node.js library under the hood. ...
Interesting. The SVG Optimizer that I use runs on a node.js library under the hood. One of the options strips all scripting. Maybe it would be possible to sanitize #SVG uploads in #Sharkey without rasterizing them.
Published at
2024-07-20 23:13:32Event JSON
{
"id": "f497cfc69552ab2be224a0b6c3357ad81641dbfc5b968f23c96ccd202c232329",
"pubkey": "f1f98066f324b407913e9930e69ea6eb59f9335c49d18dc375380c3e43a40158",
"created_at": 1721517212,
"kind": 1,
"tags": [
[
"t",
"svg"
],
[
"t",
"sharkey"
],
[
"proxy",
"https://kitty.social/notes/9vyb7nqu60kh01rz",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://kitty.social/notes/9vyb7nqu60kh01rz",
"pink.momostr"
],
[
"-"
]
],
"content": "Interesting. The SVG Optimizer that I use runs on a node.js library under the hood. One of the options strips all scripting. Maybe it would be possible to sanitize #SVG uploads in #Sharkey without rasterizing them.",
"sig": "d49a1145fc66345e0dc0c0bd99ab4daae5673d18694eb280fc4453737dd0ed6d84b54b45171509498456d578e42378ca15f7ce6d802a9b68eae7a58d37be3c86"
}