Closed stefanseifert closed 2 months ago
Support detecting redirect pages using AEM cq:redirectTarget property (instead of link handler properties) If link handler properties (with linkType) are present, they have precedence over a cq:redirectTarget property.
cq:redirectTarget
linkType
to enable it, you might have to extend your LinkHandlerConfig implementation to support either specific redirect template, or any page with a cq:redirectTarget property set. example: https://github.com/wcm-io/aem-guides-wknd-wcmio/blob/79093d111d1cb9ffd80d56d6a922d43ac3563eac/core/src/main/java/com/adobe/aem/guides/wknd/core/config/impl/LinkHandlerConfigImpl.java#L45-L48
LinkHandlerConfig
Issues 0 New issues 0 Accepted issues
Measures 0 Security Hotspots 95.0% Coverage on New Code 0.0% Duplication on New Code
See analysis details on SonarCloud
Support detecting redirect pages using AEM
cq:redirectTarget
property (instead of link handler properties) If link handler properties (withlinkType
) are present, they have precedence over acq:redirectTarget
property.to enable it, you might have to extend your
LinkHandlerConfig
implementation to support either specific redirect template, or any page with acq:redirectTarget
property set. example: https://github.com/wcm-io/aem-guides-wknd-wcmio/blob/79093d111d1cb9ffd80d56d6a922d43ac3563eac/core/src/main/java/com/adobe/aem/guides/wknd/core/config/impl/LinkHandlerConfigImpl.java#L45-L48