runbox7
runbox7 copied to clipboard
HTML message sometimes will not load
Describe the bug When opening an HTML message it will sometimes not load the content, and only display "This HTML message has been sanitized for your security.".
Clicking "Original HTML" in the menu does succeed in showing the HTML content in a new tab/window.
To Reproduce Steps to reproduce the behavior:
- Go to https://runbox.com/app
- Click to open an HTML message
- Observe that the HTML content will sometimes not load
Expected behavior The full HTML message should be displayed.
Screenshots
Desktop (please complete the following information):
- OS: macOS (appears to affect all)
- Browser: Safari (appears to affect all)
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
I'm also seeing this on Firefox (96.0.3) on Windows 10.
I see this a lot in Chrome, where I have HTML off by default (so load the message, see the plain text version, press the HTML checkbox, see empty screen except for .. has been sanitized).
In firefox I've also seen one that somehow interpreted an empty div as an unclosed div (and since that had display:none on it, the whole thing disappeared) - same one was ok in Chrome
See also #1065.
The missing content could be due to slow loading of external sources, which could be mitigated with https://github.com/runbox/runbox7/pull/1232.
Another option could be to locally cache such sources with a CDN but this appears more involved.
Not seen this recently; closing.