Bug ID 720626: Portal Access: CSS custom properties are supported by server-side CSS parser.

Last Modified: Jul 12, 2023

Affected Product(s):
BIG-IP APM(all modules)

Known Affected Versions:
13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.1, 13.1.3.2, 13.1.3.3, 13.1.3.4, 13.1.3.5, 13.1.3.6, 13.1.4, 13.1.4.1, 13.1.5, 13.1.5.1, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.0.1, 14.0.1.1

Fixed In:
14.1.0

Opened: May 17, 2018

Severity: 3-Major

Symptoms

Modern CSS includes custom properties (variables). Portal Access does not support them. When a custom property contains some external URL values, this value cannot be rewritten.

Impact

Web application may not work correctly.

Conditions

CSS file or HTML STYLE element with custom property inside, for example: :root { --iset: image-set(url("/images/image-384.jpg") 1x, url("/images/image-768.jpg") 2x,); } .img { background-image: var(--iset); }

Workaround

Use iRules to substitute 'var()' function calls in CSS files with the corresponding custom property values.

Fix Information

Now Portal Access supports CSS custom properties in server-side CSS parser.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips