K13 CMSHtmlSanitizerAllowedAttributes wildcards working for some attributes but not uc-.*

Rory Aherne asked on March 12, 2026 14:02

Hi,

I have the following wildcards in my CMSHtmlSanitizerAllowedAttributes:

  • data-*
  • aria-*
  • uc-*

The first 2 work but the uc-* one still gets stripped. As a sanity test I took out the data-* which no longer worked so I could see my changes were being applied.

I also tried a non wildcard uc tag like uc-data and that didn't get stripped.

Is there something about uc tags related to kentico tracking that's overriding this?

I have nothing about allowed attributes in my froala config.js

I'm on the latest hotfix (v13.0.201)

Thanks,

Rory

   Please, sign in to be able to submit a new answer.