Bug ID 783757: Portal Access: property 'background-image' should be processed

Last Modified: Dec 13, 2023

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

Known Affected Versions:
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, 14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 15.1.8.2, 15.1.9, 15.1.9.1, 15.1.10, 15.1.10.2, 15.1.10.3, 16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1, 16.0.1.2

Opened: May 20, 2019

Severity: 4-Minor

Symptoms

Incorrect background image in web-application page.

Impact

Incorrect client-side web-application rendering.

Conditions

Web-applications use the 'background-image' property of a style.

Workaround

You can create an iRule using the following template. # Note: Replace PAGE_URL (below) with the actual page URL. # # Use this custom iRule for pages where # the issue exists, it adds an entry for # background-image into F5_Deflate table. # when REWRITE_REQUEST_DONE { if { [HTTP::path] ends_with "PAGE_URL" } { log local0. "URI=([HTTP::path])" # Found the file we wanted to modify REWRITE::post_process 1 } } when REWRITE_RESPONSE_DONE { set rewrite_data [REWRITE::payload] set rewrite_start [string first {<script id='F5_helperVersionCheck} $rewrite_data] log local0. "Found </script> at $rewrite_start" if {$rewrite_start > -1} { REWRITE::payload replace $rewrite_start 0 { <script> (function () { Object.prototype.hasOwnProperty.call = function (o) { o['background-image']=o.backgroundImage; return false; } F5_Deflate_index({},'a') delete Object.prototype.hasOwnProperty.call })() </script> } } }

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips