Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

AntiSamy warning with No Sample Content

Avatar

Level 2

In AEM 6.3 environment with no sample content ,  I am only getting copy and group option all others are missing in dialogue. (edit, paste, delete)

1497283_pastedImage_0.png

Error.log is having following warnings :

org.apache.sling.xss.impl.HtmlToHtmlContentContext AntiSamy warning: The link tag contained an attribute that we could not process. The href attribute had a value of "/libs/cq/security/content/admin.ico". This value could not be accepted for security reasons. We have chosen to remove the entire link tag in order to continue processing the input.

org.apache.sling.xss.impl.HtmlToHtmlContentContext AntiSamy warning: The span tag had a style attribute, "font-size", that could not be allowed for security reasons.

How to resolve this? Please help.

4 Replies

Avatar

Level 10

Are you referring to a component dialog?

Avatar

Level 10

Can you list all steps you did so we can try to reproduce.

Avatar

Level 2

Issue has solved ,  the dialogue behaviour was due to template path were not pointing to proper location and not due to antisamy issue.