Posting this link makes the chat unresponsive:
https://happy-stallman-6c63b7.netlify.com/bug.svg
The chat should not become unresponsive.
The chat becomes unresponsive.
Every possible setup.
No additional context required.
No relevant logs.
@99991 would you please specify this issue with the issue template, otherwise, this will be closed. Thanks 馃憤
No problem! I deleted the part where I suggest a possible fix because there was no applicable point in the template.
Why can't I load the svg normally?
It takes a few hours to load.
Welp, I don't see any workaround for arbitrary SVG rendering other than disabling any SVG image preview.
Here are a few solutions:
timeout 1s convert bug.svg test.png; echo $? (Could use some SVG rendering library in a separate process instead of convert tool) - The easiest solution, but makes server vulnerable to denial-of-service if SVG uploads are not limited."crashing is a reasonable thing to do". (link is to issue for XML billion laughs attack, but issues with SVG got merged into this issue) The issue in the firefox bugtracker is still open after 11 years.@99991 Thanks, I was struggling to remember the attack name.