SecuredLinksTrait: fixed detection for links with absolute path