Bug ID 1238449: Replacement of the same policy from a full JSON file with a non UTF-8 character fails

Last Modified: Dec 31, 2024

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

Known Affected Versions:
17.0.0, 17.0.0.1, 17.0.0.2

Fixed In:
17.1.2

Opened: Feb 09, 2023

Severity: 3-Major

Symptoms

When a non UTF-8 policy is exported in full JSON format and then replaced with the original policy, the following error occurs: "InternalError - import_policy failed: fatal: Failed action: Imported and replaced policies have different encodings."

Impact

Unable to replace policy.

Conditions

The policy is encoded with non UTF-8 characters. The exported policy is in full JSON format, and you are trying to replace the original policy.

Workaround

None

Fix Information

Allowed to change the default encoding of the base policy.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips