Bug ID 840257: [Portal Access] html iframe sandbox attribute need to be supported

Last Modified: May 26, 2020

Bug Tracker

Affected Product:  See more info
BIG-IP APM(all modules)

Known Affected Versions:
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, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5

Opened: Oct 17, 2019
Severity: 4-Minor

Symptoms

Issues with content displayed in iframes

Impact

Web-application mis-function

Conditions

iframes with sandbox attribute is used in web-application

Workaround

Custom iRule can be used as workaround. While iRule is strongly dependent on the web-application, the following iRule is a good example that can be customized: when REWRITE_REQUEST_DONE { if { HTTP::path] ends_with "/CUSOM_PATH_TO_JS_FILE" } { REWRITE::post_process 1 } } when REWRITE_RESPONSE_DONE { while {true} { set str { sandbox="} set strt [string first $str [REWRITE::payload]] set str_len [string length $str] if { $strt > 0 and $strt < [expr [REWRITE::payload length] - $str_len] } { REWRITE::payload replace $strt $str_len { sandbo1="} } else { break } } }

Fix Information

None

Behavior Change