Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Linkchecker removing href value, if URL with %20%


Level 5


I am using AEM6.1 and I am trying to author a link  in RTE with url - https://www.abc.com/sites/default/files/news/Destructive%20Malware%20Paper%20TLP%20White%20VersionFI...

We have an issue in authoring external links with %20 or spaces in them. Linkchecker is considering it as a relative URL if %20 is present and removes the href attribute if spaces are present. Please suggest.


1 Reply


Employee Advisor

Internally the Linkchecker uses the URI class of the JRE, so the implementation should be ok regarding escaping and such. Can you set the loglevel for the classes "com.day.cq.rewriter.linkchecker.impl." to DEBUG and render that page again?