Highlighted

Linkchecker removing href value, if URL with %20%

Avatar

Avatar

varuns46785756

Avatar

varuns46785756

varuns46785756

04-04-2018

Hi,

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.

Thanks,

Replies

Highlighted

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

910

Correct Answer

1.0K
Jörg_Hoh
Employee

04-04-2018

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?

Jörg