Bug ID 1306557: Incorrect counting of non basic latin characters for min/maxLength

Last Modified: Apr 28, 2025

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

Fixed In:
17.5.0

Opened: Jun 13, 2023

Severity: 3-Major

Symptoms

When a string field in the JSON schema has minLength/maxLength constraints, they are incorrectly interpreted as constraints on the number of bytes instead of the number of characters.

Impact

Requests incorrectly blocked, due to interpreting the constraints as byte length rather than character length.

Conditions

JSON profile with a schema that includes a string field with minLength and maxLength constraints.

Workaround

NoneString fields in JSON schema now correctly interpret minLength/maxLength constraints based on character length rather than byte length

Fix Information

String fields in JSON schema now correctly interpret minLength/maxLength constraints based on character length rather than byte length

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips