We finally managed to pinpoint the issue and fix this.

Somebody had added a
`com.day.cq.rewriter.linkchecker.impl.LinkCheckerImpl.xml` under
`/apps/myapp/config.publish` with the following content:

    <?xml version="1.0" encoding="UTF-8"?>
    <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0";
xmlns:jcr="http://www.jcp.org/jcr/1.0";
        jcr:primaryType="sling:OsgiConfig"
        service.bad_link_tolerance_interval="{Long}48"
        service.check_override_patterns="[^.]"
        service.special_link_patterns=".*&#xa;"
       
service.special_link_prefix="[javascript:,data:,mailto:,#,&lt;!--,${]"/>

I think the combination of `check_override_patterns` and
`special_link_patterns` had disabled link shortening.

Removing this file made link shortening work again.



--
View this message in context: 
http://apache-sling.73963.n3.nabble.com/Trouble-with-and-a-couple-of-questions-regarding-configuring-the-Sling-Resource-Resolver-tp4032312p4032346.html
Sent from the Sling - Users mailing list archive at Nabble.com.

Reply via email to