Highlighted

AntiSamy warning with No Sample Content

Avatar

Avatar

pranalim1653274

Avatar

pranalim1653274

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

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

29-05-2018

Are you referring to a component dialog?

Highlighted

Avatar

Avatar

pranalim1653274

Avatar

pranalim1653274

pranalim1653274

29-05-2018

yes , I referring to component dialogue.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

29-05-2018

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

Highlighted

Avatar

Avatar

pranalim1653274

Avatar

pranalim1653274

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.