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

Last Modified: Mar 24, 2023

Bug Tracker

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

Known Affected Versions:
15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 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, 16.1.0, 16.1.1, 16.1.2, 16.1.2.1, 16.1.2.2, 16.1.3, 16.1.3.1, 16.1.3.2, 16.1.3.3

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