commit | dc999f7bce2a5475c9590e169e37165847610b1a | [log] [tgz] |
---|---|---|
author | Zim <zezeozue@google.com> | Thu Jan 16 01:13:37 2020 +0000 |
committer | Zim <zezeozue@google.com> | Thu Jan 16 01:18:18 2020 +0000 |
tree | 42e0aba62285ffc85774a77bc384f1547a0522ce | |
parent | e87805d133d5387401aa5224a8301b65fc309024 [diff] |
Sanitize paths before query We sanitize paths to valid FAT characters before database insert, if we don't sanitize paths before queries, queries will fail, leading to FileNotFoundException when we try to open a hidden file we created. This caused chrome downloads to fail because they were trying to download files in the form of .com.google.Chrome.XXXX Test: Chrome downloads work Bug: 147741933 Change-Id: I5e3dce7376042fff9d6faed5a9e1986996000361