Exception during HTML sanitization: java.lang.IndexOutOfBoundsException: Index: [..]

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
ofi
Posts: 1
Joined: Tue Apr 07, 2020 7:21 pm

Exception during HTML sanitization: java.lang.IndexOutOfBoundsException: Index: [..]

Post by ofi »

Recently we are experiencing blank HTML messages in web-ui from one of our partners. HTML looks fine, message also looks fine in other webmail/email client software. There is an exception in Mailbox.log saved while displaying the message:

soap - Exception during HTML sanitization: java.lang.IndexOutOfBoundsException: Index: 2, Size: 2

I`ve tried to pinpoint this error and it is the class name in HTML what is causing this crash.

I`ve attached two simple email messages. They differ with one character in class name. One of them is working fine, and the second one is causing exception.

Maybe somebody will take look at this bug.

Ubuntu 18.04, Zimbra community edition, 8.8.15.1583228261.p8-1.u1
Attachments
samples.tar.gz
(571 Bytes) Downloaded 293 times
Post Reply