Bug ID 1028081: [F5 Access Android] F5 access in android gets "function () {[native code]}" in logon page

Last Modified: Nov 02, 2023

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

Known Affected Versions:
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, 16.1.2.2, 16.1.3, 16.1.3.1, 16.1.3.2, 16.1.3.3, 16.1.3.4, 16.1.3.5, 17.0.0, 17.0.0.1, 17.0.0.2, 17.1.0, 17.1.0.1, 17.1.0.2, 17.1.0.3

Fixed In:
17.1.1, 16.1.4, 15.1.9

Opened: Jun 23, 2021

Severity: 4-Minor

Symptoms

1. Users connecting with F5 Access from an Android device see string "function () {[native code]}" in the Logon Page Form 'Username' field. 2. This issue only affects the F5 Access embedded browser. It works fine when connecting from the same Android device using Chrome. F5 Access from iOS is also working fine.

Impact

The string "function () {[native code]}" appears in the Logon Page Form 'Username' field.

Conditions

Configure an access policy with modern customization that includes a Logon Page.

Workaround

This solution is temporal as changes are lost after an upgrade. steps: 1) create a copy of the original "main.js" file # cp /var/sam/www/webtop/public/include/js/modern/main.js /var/sam/www/webtop/public/include/js/modern/main.js.origin 2) edit the file using an editor (e.g., vi). # vi /var/sam/www/webtop/public/include/js/modern/main.js modify window.externalAndroidWebHost.getWebLogonUserName to window.externalAndroidWebHost.getWebLogonUserName() and window.externalAndroidWebHost.getWebLogonPassword to window.externalAndroidWebHost.getWebLogonPassword() 3) Restart BIG-IP

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips