runbox7 icon indicating copy to clipboard operation
runbox7 copied to clipboard

HTML message sometimes will not load

Open gtandersen opened this issue 3 years ago • 4 comments

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:

  1. Go to https://runbox.com/app
  2. Click to open an HTML message
  3. Observe that the HTML content will sometimes not load

Expected behavior The full HTML message should be displayed.

Screenshots HTML message no content shown

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.

gtandersen avatar Jan 10 '22 10:01 gtandersen

I'm also seeing this on Firefox (96.0.3) on Windows 10.

rootwork avatar Feb 08 '22 02:02 rootwork

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

castaway avatar Mar 16 '22 15:03 castaway

See also #1065.

gtandersen avatar Mar 22 '22 23:03 gtandersen

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.

gtandersen avatar Mar 28 '22 11:03 gtandersen

Not seen this recently; closing.

gtandersen avatar Dec 23 '22 10:12 gtandersen