Rich Text Editor stripping out href tags.

Avatar

Avatar
Validate 10
Level 3
vijayk87714775
Level 3

Likes

12 likes

Total Posts

81 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
vijayk87714775
Level 3

Likes

12 likes

Total Posts

81 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
vijayk87714775
Level 3

26-09-2018

Hi All , I have gone through all the threads related to the same issue and tried all suggested solutions but problem still exists . 1.RTE is removing href tags when you try to re-open the dialog for the already authored content that has href tags.. 2. Removes href tags  when you try to author for the first time for the content with maximum href's . we are using aem 6.2 sp1 cfp 16 Thanks in advance.

Replies

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 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,409 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

26-09-2018

I am opening a dialog in Touch UI and able to enter a link to another site. See.

CNNlink.png

The page responds correctly too.

CNN2.png

How are you adding the link in your instance?

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 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,409 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

26-09-2018

Checking with internal ppl to see if this is an issue.

Avatar

Avatar
Validate 10
Level 3
vijayk87714775
Level 3

Likes

12 likes

Total Posts

81 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile

Avatar
Validate 10
Level 3
vijayk87714775
Level 3

Likes

12 likes

Total Posts

81 posts

Correct reply

0 solutions
Top badges earned
Validate 10
Validate 1
Boost 5
Boost 3
Boost 10
View profile
vijayk87714775
Level 3

02-10-2018

Hi Scott , Thanks for replying  I am adding the links in the same way you did. I have tried on the Geometrixx pages as well and still I was able to see the issue . As you said you were checking with internal people ,any luck there ?

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

484 likes

Total Posts

1,048 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

03-10-2018

Hi Vijay

      I have my server with same configuration . But I don't see this issue

1585786_pastedImage_0.png1585802_pastedImage_0.png

  So the issue you are having is with a custom component ? Can you test the same scenario with any OOTB component and in Geometrixx too ?

Thanks

Veena

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 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,409 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

03-10-2018

Can you try on a fresh instance and see if you get this in a new DEV fresh AEM instance.

Avatar

Avatar
Boost 1
Level 1
senthil86
Level 1

Likes

2 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Give Back
Validate 1
View profile

Avatar
Boost 1
Level 1
senthil86
Level 1

Likes

2 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Give Back
Validate 1
View profile
senthil86
Level 1

07-07-2021

@smacdonald2008  We have created custom link and it execute innerhtml properly with href tag.

But while we check in source edit href tag along disappeared if we changed href to href1 then it is persist and save also . Do we want to update any thing in XSS or any configuration .

 

Thanks in advance !