hzrd149 on Nostr: noStrudel wont recolonize a url as an image unless its path ends with a .png, .jpg, ...
noStrudel wont recolonize a url as an image unless its path ends with a .png, .jpg, or any other image ext. It can see the "filename=" part of the url but it ignores it for now
This was mostly for security reasons, I didn't want to make the app auto load any url since it could easily load a 1GB file only to find out its not an image
Published at
2024-05-18 17:00:18Event JSON
{
"id": "0e3acdc6361dbe625dfd9b7c2ce96691fa09ac47be227e089f1cbe9647be2abb",
"pubkey": "266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"created_at": 1716051618,
"kind": 1,
"tags": [
[
"e",
"b9e909f28bee817a848890379b16f2bba4a258771b129d249bb958aff65277f3",
"wss://nostr.wine/",
"root"
],
[
"e",
"7ab8a58ee19c1aacdff2ec7d2bf610d9eda69793cd31c4aee4b8524f7760234d",
"",
"reply"
],
[
"p",
"b75b9a3131f4263add94ba20beb352a11032684f2dac07a7e1af827c6f3c1505",
"",
"mention"
],
[
"p",
"4e76d7ec7d70df2dae43549dd54f657dfa61851f1357a5aded90e1d644b9a47b",
"",
"mention"
]
],
"content": "noStrudel wont recolonize a url as an image unless its path ends with a .png, .jpg, or any other image ext. It can see the \"filename=\" part of the url but it ignores it for now\nThis was mostly for security reasons, I didn't want to make the app auto load any url since it could easily load a 1GB file only to find out its not an image",
"sig": "92f69297b77fbe2b95f016e9f0a777634677787341aaed0eabc80cd0285fdf090a42e8f6483fa80dc2e8fbb95e4f4179e6670ec6707afc286f82956686ddc1bd"
}