Release Notes / Version 12.2404
Table Of Contents
SiteFilter now matches request paths against configurable patterns to
derive the requested site. This is much more efficient than the
previous strategy which simply checked every path segment if it
matched one of the segments of the known site root navigations. The
new strategy is to take a list of patterns to check if the current
request URI paths contains a site segment, then check the first path
segment after the dispatcher servlet segment if it is site segment but
exclude a list of known prefixes. The list of path patterns that have
a site segment in it is configured via
cae.site.patterns
and the list of known non-site
path prefixes is configured via
cae.site.ignore-prefix-patterns
. The former
SiteFilter behavior can be restored by setting both properties to
empty values. Configure
cae.site.collect-non-matching-paths=true
to collect
non matching paths to support debugging your SiteFilter config. This
setting is enabled in the dev
profile for your
convenience.
(CMS-23583)