Bug ID 754989: iControl REST API adds unnecessary escape character (\) to URL if the URL contains a wildcard character

Last Modified: May 23, 2019

Bug Tracker

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

Known Affected Versions:
14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.4, 14.1.0.5

Opened: Jan 09, 2019
Severity: 2-Critical

Symptoms

iControl REST API adds unnecessary escaping to URL if it contains a wildcard character.

Impact

iControl REST API adds unnecessary escape character (\) to URL. The resulting configuration may not be interpreted correctly by the data plane because the request URL does not match with the configuration. -- One specific example: # restcurl -u admin:<password> -d '{"name":"/vdesk/test*","type":"wildcard"}' "https://host.mgmt.siterequest.com/mgmt/tm/security/anti-fraud/profile/fps_logonpage_wildcard/urls" -- Results in this: urls { /vdesk/test\\* { priority 2 type wildcard } } -- Instead of the expected: urls { /vdesk/test* { priority 2 type wildcard } }

Conditions

-- Creating configuration using iControl REST API. -- Configuration includes a URL containing wildcard character.

Workaround

Use TMSH to add the configuration.

Fix Information

None

Behavior Change