I'm using Sightly
<a href="tel:${phone}">${phone}</a>
the phone number is getting printed correctly but inside the link "tel:" is getting replaced by "_tel_" which breaks the link to work as a phone link. I can't found anything in the Sightly documentation about it. I tried using context unsafe and context html but none worked.
How I stop that link to getting rewritten?
Thanks
Solved! Go to Solution.
I did faced similar issue, it was a product bug. Here is the hotfix which helped us. Hotfix 9130
Hotfix list: https://helpx.adobe.com/experience-manager/kb/aem61-available-hotfixes-before-SP2.html
Give it a try...
Thanks
I tried to disable the Link Checker just for that link using x-cq-linkchecker=”skip” but that doesn't seem to work on Sightly.
What's the idiomatic way to disable just one link in Sightly? Not sure what you mean with adjust the regexps?
Thanks
Views
Replies
Total Likes
I did faced similar issue, it was a product bug. Here is the hotfix which helped us. Hotfix 9130
Hotfix list: https://helpx.adobe.com/experience-manager/kb/aem61-available-hotfixes-before-SP2.html
Give it a try...
Thanks
Please try what Praveen suggested,
There is a hotfix which seems to cater the problem you are facing here.
Date | Name | Description | Fixed Issues | Replaces |
Feb 4th, 2016 | Hotfix 9130 | XSS vulnerability | CQ-70200 : Extra underscore added for anchor links |
~kautuk
Views
Replies
Total Likes
carloso98118279 wrote...
I'm using Sightly
<a href="tel:${phone}">${phone}</a>
the phone number is getting printed correctly but inside the link "tel:" is getting replaced by "_tel_" which breaks the link to work as a phone link. I can't found anything in the Sightly documentation about it. I tried using context unsafe and context html but none worked.
How I stop that link to getting rewritten?
Thanks
I've accidentally deleted my answer:
Hi, Carlos.
Link Checker is probably the culprit.
Have you tried any of the approaches described here: https://helpx.adobe.com/experience-manager/kb/DisableLinkChecker.html?
As a first test, I would disable Link Checker and Link Transformer for all URLs. If it really is the offender, as the next step, I would re-enable it and properly adjust the regexps.
Regards,
Daniel.
but Praveen has already answered this one...
Regards,
Daniel.
Views
Replies
Total Likes