コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

The word “filters” in a hyper link cause the issue in RTEPlugin (AEM 6.3.0 TouchUi)

Avatar

Level 7

I am facing an issue with hyperlink in RTE (AEM6.3.0), when i started using filter/search query along with my URL, 

 

Problem i am facing : I made a hyper link for "Test" with this url https://test.com/campaigns?type=2&filters={%22audience%22:{%22value%22:[2]}} and then I saved and opened it in preview , after that we come back and reopen component then that hyperlink has become invisible/disappear,(i.e hyperlink is visible on "Test" at single instance only).

So, now here if we Author the RTE with text and hyperlink with Filter/search query URL, and click on ok, we are not able to see the text as Hyperlink when we gave Filter/search query in URL.

 

Expected Behavior: URLs with filter/search query should work same as the URLs without filter/search query.

 

So, please help me to achieve the text with Hyperlink in which URL consist of filter/search query.

I am using AEM6.3.0

 

Thanks

@kautuk_sahni @arunpatidar @hanishb17637780 

 

1 受け入れられたソリューション

Avatar

正解者
Community Advisor

Hi,

It is removing the href because of invaild URL format. the characters { and } are not valid for urls.

You can override this rule by overlay and update /libs/cq/xssprotection/config.xml 

 

Though word filter, works in URLs, try with https://test.com/campaigns?type=2&filters=3

 

Arun Patidar

AEM LinksLinkedIn

元の投稿で解決策を見る

3 返信

Avatar

正解者
Community Advisor

Hi,

It is removing the href because of invaild URL format. the characters { and } are not valid for urls.

You can override this rule by overlay and update /libs/cq/xssprotection/config.xml 

 

Though word filter, works in URLs, try with https://test.com/campaigns?type=2&filters=3

 

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 7

But now open the RTE dialog and give hyperlink to some text with filter, click ok

Now again come to Dialog Open RTE select the same hyperlink. that hyperlink will not appear in dialog,

for other URL in which no filter is there that hyperlink url will retain as is, but URL with filter will removed.

Avatar

Level 7

Like if you go to : https://docs.adobe.com/content/help/en/experience-manager-65/administering/operations/rich-text-edit...
and Ctrl+F : Hyperlinks are lost when editing a component

there is a solution but is that the proper or permanent solution, or need help with any alternative.