Bug ID 528727: In some cases HTML body.onload event handler is not executed via portal access.

Last Modified: Jul 13, 2024

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

Known Affected Versions:
11.6.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4, 11.6.0 HF5

Fixed In:
12.0.0, 11.6.0 HF6

Opened: Jun 18, 2015

Severity: 3-Major

Symptoms

Internet Explorer 7 (and any newer version in compatibility mode) ignores inline body.onload event handler if it is already assigned in previously executed script. This may prevent execution of user-defined body.onload event handler in some cases if the page is accessed using Portal Access.

Impact

Web application may work incorrectly.

Conditions

The problem occurs under these conditions: Internet Explorer version 7 or newer in compatibility mode, and HTML page with inline body.onload event handler _and_ <script> or <meta> tags before <body> tag.

Workaround

It is possible to change the HTML page in an iRule converting inline body.onload event handler into an explicit JavaScript function assigned to the body.onload event using the attachEvent() call.

Fix Information

Now HTML inline body.onload event handler is executed correctly in all cases if the page is accessed through Portal Access.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips