Skip to content

Value of policy for get operation is getting replaced by ASCII character after running extractor file #590

Open
@Anand2042

Description

@Anand2042

Release version

APIOPS toolkit for Azure APIM

Describe the bug

In the get operation, user is applying one rewrite policy and the value of policy get changed when extracted the file while running the extraction file in pipeline and then user publish the pipeline but it start showing error while running the operation.

Expected behavior

In the get operation, when user is running extraction file then the value of policy should be as it is required and set in portal.

Actual behavior

But when user is running the extraction file then some character get replaced with ASCIII character in the value of policy and then manually modifying the changes in pipeline to publish the pipeline successfully.

Reproduction Steps

User using the rewrite policy in get and then running the extractor file. After extraction we can notice in file of policy created in artifacts that some of the value of policy is getting changed with ASCII character.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions