Bug ID 490675: User name with leading or trailing spaces creates problems.

Last Modified: Apr 28, 2025

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

Known Affected Versions:
11.4.1, 11.5.0, 11.5.1, 11.5.1 HF1, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.1 HF10, 11.5.1 HF11, 11.5.2, 11.5.2 HF1, 11.6.0, 11.6.0 HF1, 11.6.0 HF2, 11.6.0 HF3, 11.6.0 HF4

Fixed In:
12.0.0, 11.6.0 HF5, 11.5.3, 11.4.1 HF9

Opened: Nov 13, 2014

Severity: 3-Major

Related Article: K16855

Symptoms

User name containing leading or trailing spaces (e.g., ' user1 ') results in processing errors. When the user entry gets created in MySQL it treats the user name ' user1 ' as if it were 'user1', stripping out the spaces at the beginning and the end of the name. The memcache entry does not do the same.

Impact

Unnecessary memcache entries. There will be multiple entries for the same user (one with and one without spaces). When the dynamic user gets deleted, the regular user name is deleted from memcache and from MySQL; the other user entry remains in memcache.

Conditions

-- There is a user name containing leading or trailing spaces (e.g., ' user1 '). -- There is the same user name without leading or trailing spaces (e.g., 'user1').

Workaround

None.

Fix Information

The system now trims leading and trailing spaces from any user name before using it. So the user name is uniform everywhere.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips