summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorNate Fischer <ntfschr@google.com>2018-02-27 20:59:29 -0800
committerNate Fischer <ntfschr@google.com>2018-02-27 20:59:29 -0800
commitd674b09af2c536f57316b2a9c870be5f0af3b1d3 (patch)
tree5b5ccf7ebcf39b98ee8d00fe0ea3db1ff978fc53 /tools/aapt2/java/JavaClassGenerator.cpp
parente7e42ceb028c49b626e2cee591a967c7a16fb830 (diff)
WebView: relax URLUtil#isFileUrl()
This relaxes URLUtil#isFileUrl() to accept a prefix of "file:" instead of requiring "file://". Chromium treats "file:path" as if the user had typed "file:///path". An app may incorrectly believe it's safe to load anything that URLUtil#isFileUrl() rejects, intending to refuse all URLs which point to the file system. Bug: 72848579 Test: cts-tradefed run cts -m CtsWebkitTestCases -t android.webkit.cts.URLUtilTest#testIsFileUrl Change-Id: I7b3bba961523d4bdda6169a0f50fe7f1d1579e38
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions