Bug ID 425746: CSS styles added via style.appendChild(document.createTextNode(style)) are not correctly patched.

Last Modified: Jul 12, 2023

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

Known Affected Versions:
11.1.0, 11.2.0, 11.2.1, 11.3.0, 11.4.0, 11.4.1

Fixed In:
11.5.0

Opened: Jul 20, 2013

Severity: 3-Major

Related Article: K11332951

Symptoms

Some images could be missing in the page requested through Portal Access. HTTP Request log will show that these images are requested with unmangled URLs.

Impact

Direct or failed requests to image files.

Conditions

CSS styles dynamically inserted in client-side JavaScript code with construction like <style>.appendChild(document.createTextNode(css))

Workaround

iRule which replaces .createTextNode(x) with .createTextNode(F5_WrapStyleAttr(x)).

Fix Information

Fixed the situation when application could make direct request to resources defined in dynamically created CSS style.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips