Open Anand2042 opened 2 months ago
Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
Can you please check if there is an existing issue that addresses the same issue? Please search both open and closed issues.
yes, searched the open and closed issues and reviewing it whether our issue is mentioned there or not.
Can you post samples? What does your original policy look like, and what does it look like after extraction?
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.