Highlighted

AntiSamy warning with No Sample Content

pranalim1653274

29-05-2018

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.

Replies

Highlighted

pranalim1653274

30-05-2018

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