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
Solved! Go to Solution.
Views
Replies
Total Likes
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
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
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.
Views
Replies
Total Likes
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.
Views
Replies
Total Likes