When we add title attribute with '+' in content and Href attribute with 'tel:' via Source Edit in RTE it strips away in the markup. Is there a recommended approach to handle this ? I have seen lot of articles recommending to change the xssprotection/config.xml but is this the only way to fix this since Adobe doesn't recommend meddling with it ? Please let me know. This is for AEM Saas. TIA
-Lokesh
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @lokesh426
Please ensure to add "tel:" as a special link prefix in com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl OSGi configuration. This will ensure the tel link is not removed from the page.
And yes, you need to update the XSS protection to allow any special chars for any attributes you want.
Thanks!
Hi @lokesh426
Please ensure to add "tel:" as a special link prefix in com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl OSGi configuration. This will ensure the tel link is not removed from the page.
And yes, you need to update the XSS protection to allow any special chars for any attributes you want.
Thanks!
Hi Ashutosh,
Thanks for the reply, updating link checker with tel fixed it .
-Lokesh
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies