summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Sudheer Shanka <sudheersai@google.com> 2023-03-28 22:58:26 +0000
committer Sudheer Shanka <sudheersai@google.com> 2023-03-28 23:13:12 +0000
commita72e432a0fecac79b562ac5c11f0629549ce0bcc (patch)
tree05f042c6c6ee4f281c501bcd4bcbb930e6074894 /api/api.go
parente6f44ac081fa8d8dfcccc2748cb1330de655f08f (diff)
Don't throw if the matching key contains ":".
If a client adds custom crafted strings as part of matching key, it is possible for this restriction to go unnoticed. Instead, just all allow characters in the key. This means that we cannot solely rely on getDeliveryGroupMatchingKey() for matching but don't think this would be a problem for clients of this API outside the System. Bug: 275312433 Test: TH Change-Id: I2ad9c6d270678ddb881168936b1f74bd375de58c Merged-In: I76e307800017d4dd1e66233b1ff4cc5cbcef7246
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions