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

Last Modified: Nov 06, 2019

Bug Tracker

Affected Product:  See more info
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.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.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.4, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 15.0.0, 15.0.1

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