4 ms·
Interesting. I was going to email the link to some co-workers that work with XML frequently. I wrote a nice little email with the link, then decided to put th
by abruzzi 9y ago
Interesting. I was going to email the link to some co-workers that work with XML frequently. I wrote a nice little email with the link, then decided to put the text of the billion laughs attack into the email. Select the full XML in the browser, change to the email client and past, and the client immediately becomes unresponsive. I open up "Activity Monitor" and the clients memory consumption is rising precipitously, and was at 19gb when I killed it. Microsoft Outlook 2016 for Mac. I was really surprised that an email client would try to interpret the XML rather than just displaying it as text.
- mdavidn 9y agoThe same thing happened in JetBrains IDEs until about a year ago. I remember having to save my XML bomb unit test in a *.txt file to avoid freezing my IDE.
- Arnavion 9y agoMaybe it was trying to be helpful - detected you were pasting XML and tried to pretty-print / colorize it.
- sebazzz 9y agoFor that a parser without any intepretation would be sufficient.