Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Needs Clarification
Workspace Domino Designer
Categories XPages
Created by Guest
Created on Feb 17, 2020

Fix Logic Bug in ACFUtil.htmlDecode()

Using Domino V11 (bug also existed since at least 9.0.1 FP7)


The following method string)

in the plugin


has a logic bug which you can reproduce with the following 2 line test


        String value = "color: rgb(50, 49, 48); font-family: &quot";



We have an XPages application in which we view emails that have been received from external.

We are using the ACFFilter to ensure that no malicious content is rendered


However we (very occasionally) receive a FacesExceptionEx when some particular content comes through.

When we debug we can trace this to a StringIndexOutOfBoundsException in the htmlDecode method mentioned above


It seems that it is doing a test like this:


i >= length  || (value.charAt(i + 1) != ';'


but this test causes an out of bounds exception when i = 41 and the string length is 42


  • Attach files
  • Guest
    Feb 20, 2020

    FYI I am still waiting from a response from HCL regarding opening a support account so can

    we please leave this idea here until I can confirm that I have an account and the ability to raise a bug report

  • Guest
    Feb 19, 2020

    Sure thing.

    I have submitted a request this morning to get an account with HCL Support

    If I get a response / account then I will post this as a bug report

  • Admin
    Thomas Hampel
    Feb 18, 2020

    Can you please raise a support ticket to handle this bugreport apropriately?