diff --git a/commons/src/main/java/com/composum/sling/core/util/LinkUtil.java b/commons/src/main/java/com/composum/sling/core/util/LinkUtil.java index 5e075c86b..a4826e6ce 100644 --- a/commons/src/main/java/com/composum/sling/core/util/LinkUtil.java +++ b/commons/src/main/java/com/composum/sling/core/util/LinkUtil.java @@ -273,6 +273,9 @@ protected static String getFinalTarget(ResourceHandle resource, List tra redirect = contentResource.getProperty(PROP_TARGET); if (StringUtils.isBlank(redirect)) { redirect = contentResource.getProperty(PROP_REDIRECT); + if ("true".equals(redirect) || "false".equals(redirect)) { + redirect = null; // sometimes that's used as boolean property - no idea how to handle that. + } } } }