one more set of patterns (#5535)
* one more set of patterns * tr * ads * add signed Oid * clangs
This commit is contained in:
parent
6ded663ff6
commit
9f30ba4a9a
@ -243,6 +243,14 @@ void TestProxyManager::SetProxySanitizer()
|
||||
addSanitizer(SanitizerType::General, g_accountRegex, "account");
|
||||
addSanitizer(SanitizerType::Body, "client_secret=(?<clientsecret>[^&]+)", "clientsecret");
|
||||
addSanitizer(SanitizerType::Body, "client_id=(?<clientid>[^&]+)", "clientid");
|
||||
addSanitizer(
|
||||
SanitizerType::Body,
|
||||
"(?<=<UserDelegationKey>).*?(?:<SignedTid>)(.*)(?:</SignedTid>)",
|
||||
"signedtid");
|
||||
addSanitizer(
|
||||
SanitizerType::Body,
|
||||
"(?<=<UserDelegationKey>).*?(?:<SignedOid>)(.*)(?:</SignedOid>)",
|
||||
"signedoid");
|
||||
const std::string storageSasSignatureRegex = "\\?.*sig=(?<sassig>[a-zA-Z0-9\\%\\/+=]+)";
|
||||
addSanitizer(SanitizerType::Uri, storageSasSignatureRegex, "sassig");
|
||||
addSanitizer(SanitizerType::Header, storageSasSignatureRegex, "sassig", "x-ms-copy-source");
|
||||
|
||||
@ -36,3 +36,4 @@ additional questions or comments.
|
||||
[coc]: https://opensource.microsoft.com/codeofconduct/
|
||||
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
|
||||
[coc_contact]: mailto:opencode@microsoft.com
|
||||
|
||||
Loading…
Reference in New Issue
Block a user