Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

bogus "AntiSamy" warning breaks clientlibs

Avatar

Level 4

My clientlibs are getting corrupted, replaced by "./bad_files/clientlib-base.css"

I am seeing this strange warning in my error.log:

This happens in a component that uses data-sly-resource to re-use content from another page.

What could be causing this? I searched everywhere and I have no "position" style attribute anywhere!

1 Accepted Solution

Avatar

Correct answer by
Level 4

solved by adding wcmmode=disabled to data-sly-resource!

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

solved by adding wcmmode=disabled to data-sly-resource!