close

Filter

loading table of contents...

Release Notes / Version 13.2512.1

Table Of Contents

CoreMedia Content Application Engine

Bugfix: 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.ftl and 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 ReferenceError if the cm_p13n script is not available.

  • The client-side personalization code (cm_p13n script in the page head and the preview state at the end of the page) can be switched off with the existing property cae.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.js was removed; the template includes the readable p13n-callback.js instead.

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)

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.