API Gateway: Issue with a single quote character in Gateway Logging
search cancel

API Gateway: Issue with a single quote character in Gateway Logging

book

Article ID: 230710

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

When using "Add Audit Details" policy to log request, there is a problem with logging single quote symbol. 

Use Case:

a'a it doesn't log single quote in log file only aa is printed.

Now if you escape it by adding additional single quote (a''a), then it's in log file it's printed only one single quote: a'a.

If message is amended with curly brackets, then it prints into log all single quotes after opening curly bracket: a'a { b'b } c''c  in log file there will be: aa { b'b } c''c.

Environment

Release : 10.0

Component : API GATEWAY

Resolution

Product management has updated that they have scheduled the fix for this problem in Gateway 10.0-CR05, 10.1-CR1.
API Gateway 10.0-CR05 is planned for March/April 2022.