Jake Klinker
0b258f030a
Fix isFileUri to recognize URIs with spaces.
...
The underlying framework recognizes " file://..." as a valid URI and fetches the file, allowing for a possible exploit (see b/209965112). This trims the URI so that we can properly recognize it as a file from within our code.
Bug: 209965112
Change-Id: I8d9d9100e9a8c3bd64d19015d2177a14ec2306f3
Test: See repro steps on http://b/209965112 , was no longer able to repro.
2022-01-11 00:38:25 +00:00
..
2020-02-05 15:47:13 +09:00
2018-04-09 17:17:41 -07:00
2015-08-12 12:47:26 -07:00
2018-04-09 17:17:41 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2020-02-28 18:16:54 +09:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2020-06-18 19:24:27 +09:00
2015-08-12 12:47:26 -07:00
2016-05-16 16:34:58 +01:00
2020-02-05 16:08:02 +09:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2020-06-19 18:34:20 +09:00
2019-04-11 16:38:17 -07:00
2015-08-12 12:47:26 -07:00
2020-02-05 16:08:02 +09:00
2015-08-12 12:47:26 -07:00
2020-02-12 09:54:01 +09:00
2018-04-09 17:17:41 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2018-04-09 17:17:41 -07:00
2015-08-12 12:47:26 -07:00
2021-09-22 10:56:34 +00:00
2015-08-21 10:17:46 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2018-04-09 17:17:41 -07:00
2015-08-12 12:47:26 -07:00
2018-04-09 17:17:41 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2018-04-09 17:17:41 -07:00
2018-04-09 17:17:41 -07:00
2015-08-12 12:47:26 -07:00
2018-04-09 17:17:41 -07:00
2020-07-29 16:43:46 -07:00
2015-08-12 12:47:26 -07:00
2018-04-09 17:17:41 -07:00
2022-01-11 00:38:25 +00:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00
2015-08-12 12:47:26 -07:00