Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chromeos: Escape non-latin characters in RDB artifacts
Sometimes a Tast test will output a file with non-latin characters in the file name. Since we use the filename as the artifact ID when uploading it to RDB, and since RDB doesn't like non-latin characters, we run into an RDB error in that case, eg: https://chrome-swarming.appspot.com/task?id=58d4fdc3efaaf610 By replacing those characters with '?' we should be able to successfully upload the files. eg: https://screenshot.googleplex.com/83nKzvBpwUuWxjA Bug: 1293539 Change-Id: I026c925b59350be7d887014cad491b6a22519049 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3437262 Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Commit-Queue: Ben Pastene <bpastene@chromium.org> Cr-Commit-Position: refs/heads/main@{#967451}
- Loading branch information