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
BedrockMission!

Learn More

View all

Sign in to view all badges

AntiSamy warning with No Sample Content

Avatar

Avatar
Validate 1
Level 1
pranalim1653274
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
pranalim1653274
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
pranalim1653274
Level 1

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

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

29-05-2018

Are you referring to a component dialog?

Avatar

Avatar
Validate 1
Level 1
pranalim1653274
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
pranalim1653274
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
pranalim1653274
Level 1

29-05-2018

yes , I referring to component dialogue.

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,408 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

29-05-2018

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

Avatar

Avatar
Validate 1
Level 1
pranalim1653274
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
pranalim1653274
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
pranalim1653274
Level 1

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.