Release Notes / Version 13.2512.1
Table Of ContentsBugfix: Built-In Image Transformation May Fail on Palette PNG with Transparency
A bug in Java’s image transformation could lead to corrupt output when transforming PNGs with color palette and transparency. This is fixed now. The bug did not affect transformation via the Image Transformation Service.
Upgrade information
Transformed images are cached persistently (see property
com.coremedia.transform.blobCache.basePath, e.g.
/coremedia/cache/persistent-transformed-blobcache
in Studio Server). Corrupt PNGs generated before the fix keep being
served from that cache, and Studio/CAE/HLS still deliver broken
images. After updating, clear the persistent blob caches (and upfront
caches).
(CMS-31865)
Personalization script no longer parses URL parameters on live pages; client-side p13n code can be disabled
The Blueprint renders a small personalization script
(cm_p13n) into the head of every page. It contained
a function that reads the preview parameter
p13n_experiences from the browser URL. The function
was only called in the preview CAE, but it was also delivered on live
pages, where security scanners reported it as "DOM-based
client-side JSON injection". The delivered data only selects
which personalization variant is displayed; no code is executed.
Changes:
The URL parsing is now part of the preview-only template
VariantPreviewState.end.ftland validates the parsed data. It is no longer contained in the script delivered on live pages.Variant IDs and segments in the preview output are now escaped as JavaScript strings.
The scripts rendered by the CAE no longer fail with a
ReferenceErrorif thecm_p13nscript is not available.The client-side personalization code (
cm_p13nscript in the page head and the preview state at the end of the page) can be switched off with the existing propertycae.variant.enabled=false. The default behavior is unchanged. Do not disable it if you use a third-party personalization adapter extension.The minified script
p13n-callback.min.jswas removed; the template includes the readablep13n-callback.jsinstead.
This change is in source-public Blueprint code
(cae-base-lib). Projects that modified
p13n-callback.js,
PersonalizationCallbackBean.head.ftl,
VariantPreviewState.end.ftl or
BlueprintCaeVariantAutoConfiguration may have to
merge the changes. The two view hook listener beans are now registered
by the nested configuration class
BlueprintCaeVariantAutoConfiguration.VariantClientCodeConfiguration;
their bean names are unchanged.
(CMS-31121)


