Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

Sanitize raw strings#19

Open
joshijigar wants to merge 1 commit into
amzn:masterfrom
joshijigar:master
Open

Sanitize raw strings#19
joshijigar wants to merge 1 commit into
amzn:masterfrom
joshijigar:master

Conversation

@joshijigar

Copy link
Copy Markdown

In current master branch, AmazonPay/SanitizeData.cs > SanitizeGivenData method was unable to sanitize Text data (type == DataType.Text)

So added feature to sanitize raw string data

AmazonPay/IpnHandler.cs > Added custom wrapper around value fields of NameValueCollection
AmazonPay/SanitizeData.cs > Detected and sanitized sensitive values and removed wrappers at last with RegEx

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@joshijigar joshijigar closed this Apr 2, 2023
@joshijigar joshijigar reopened this Apr 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant