Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

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.