Bug ID 513659: AAM Policy not all regex characters can be used via the GUI

Last Modified: Jul 13, 2024

Affected Product(s):
BIG-IP AAM(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, 11.6.0 HF6, 11.6.0 HF7, 11.6.0 HF8

Fixed In:
12.0.0, 11.6.1

Opened: Mar 20, 2015

Severity: 3-Major

Related Article: K72841425

Symptoms

Cannot specify certain regex syntax when configuring Client IP for 'Matching' or 'Validation' rules in an AAM Policy.

Impact

Cannot use the GUI to configure the policy with certain regex strings. The system posts the following error message: The field Value has invalid characters.

Conditions

Adding regex characters such as \, [, ], ^, $ to an existing policy. Parentheses appear to be allowed, but do not save the information correctly.

Workaround

Use tmsh, and escape special wild-card characters with '\': For example at add 10.[0-9]$: modify wam policy Drafts/test_policy nodes modify { t1 { matching modify { client-ip { values replace-all-with { 10.\[0-9\]$ } } } } }.

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips