My Oracle Support Banner

Option To Allow A Domain In Convergence Using mail.htmlsanitizer.additionalwhitelist (Doc ID 2347305.1)

Last updated on JULY 29, 2022

Applies to:

Oracle Communications Convergence - Version 3.0.1 and later
Information in this document applies to any platform.

Goal

Qn1:

Using: Convergence 3.0.1.4.0

Is there an option to allow a domain in Convergence using mail.htmlsanitizer?

Currently, the following parameter is set:

mail.htmlsanitizer.enable = true

Once mail.htmlsanitizer.enable is enabled, a reference link is being removed.

eg: https://domain.business.com/

We need to leave mail.htmlsanitizer.enable as enabled, but is there an option to allow domains/sites, so links are not removed?

Can you provide documentation on mail.htmlsanitizer.additionalwhitelist ?
 
Qn2:

When base64 decoding the text/html part of the multipart/related part of a message we can see that the relevant part of the original html that is causing the problem is [redemption code obfuscated]...


As would be expected, the first link works correctly and what should have been the second link is not shown as a link at all, and certainly does not link to the intended target URL.

So, if the original href did not have the extraneous whitespace then there would have been no problem.

However, there are existing mails in the store that exhibit this problem, as well as potentially any new mails from any source that have these extraneous spaces.

Can this behavior be tweaked in the sanitizer, such that leading spaces do not cause href attributes to be removed in this way?

It is not entirely clear from reading the multiplicity of standards, whether it is perfectly valid to have leading or trailing spaces in href URLs.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.