Option To Whitelist A Domain In Convergence Using mail.htmlsanitizer.additionalwhitelist
Last updated on JANUARY 12, 2018
Applies to:Oracle Communications Convergence - Version 3.0.1 and later
Information in this document applies to any platform.
Using: Convergence 18.104.22.168.0
Is there an option to whitelist a domain in Convergence using mail.htmlsanitizer?
Currently have the following parameter set:
mail.htmlsanitizer.enable = true
Once mail.htmlsanitizer.enable is enabled, a reference link is being removed.
We need to leave mail.htmlsanitizer.enable as enabled, but is there an option to whitelist domains/sites, so links are not removed?
Can you provide documentation on mail.htmlsanitizer.additionalwhitelist ?
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms