Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Payments] Don't log non-unicode in parser.
Before this patch, parsing non-unicode fingerprints resulted in a failed assertion when logging the string to terminal. This patch adds a check for non-ASCII input string. A non-ASCII string is not logged to terminal. After this patch, parsing non-ASCII fingerprints does not result in a failed assertion, because the non-ASCII fingerprint is not logged to terminal. Test: FingerprintParserTest.MustBeASCII Bug: 791584 Change-Id: I0317203c1dae5a048008df074fee77982838fa1c Reviewed-on: https://chromium-review.googlesource.com/806317 Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by: Ganggui Tang <gogerald@chromium.org> Cr-Commit-Position: refs/heads/master@{#521445}
- Loading branch information