Bug ID 964925: Page might be broken when using Single Page Application and calling onreadystatechange() directly

Last Modified: Jun 07, 2022

Bug Tracker

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

Fixed In:
17.0.0

Opened: Nov 16, 2020
Severity: 4-Minor

Symptoms

A web application suddenly misfunctions or does not render.

Impact

A console error might appear, and the web page might break.

Conditions

Any one of the the following conditions may apply if the web application calls onreadystatechange() directly: -- ASM Policy with `single_page_application` enabled is attached to a virtual server. -- DoS Profile with `Single Page Application` enabled is attached to a virtual server. -- Bot Defense Profile with `Single Page Application` is attached to a virtual server.

Workaround

When calling onreadystatechange directly - add the xhr object it is called for (even `this`): onreadystatechange(xhr)

Fix Information

Handle direct calls for onreadystatechange.

Behavior Change