Freeze when WebKitWebProcess processes a large XML attachment
I received an email with an attachment, which is a rather large (?) XML file of size 2.6 MB.
What happens is that Evolution freezes because there's a WebKitWebProcess that eats up one one of my CPUs and apparently tries to render the XML file, even though it's an attachment.
Maybe this helps:
Content-Type: application/xml; name="(redacted).xml"
Content-Description: (redacted).xml
Content-Disposition: attachment; filename="(redacted).xml"; size=2609002;
creation-date=(redacted)
modification-date=(redacted)
Content-Transfer-Encoding: base64
I'm not sure what the right solution is. Maybe it shouldn't render attachments but I could imagine that will be problematic with HTML attachments. Maybe there should just be a limit such that larger attachments are not rendered. Or even a timeout.