Add file scheme checks for Intent URI based navigations.
Intent URIs can expose file:// URI which upon external navigation from can result in unhandled FileUriExposedException android exception. This CL adds check in ExternalNavigationHandler to ensure we never send the intents generated by Intent URIs with file scheme to Android which could result in unhandled exception. This CL also adds unit and browser tests. Bug: 1085476 Change-Id: I0cff50d517a491dc27e345372ddcc5c77f8e26cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2212169 Commit-Queue: Rohit Agarwal <roagarwal@chromium.org> Reviewed-by:Michael Thiessen <mthiesse@chromium.org> Cr-Commit-Position: refs/heads/master@{#771319}
Showing
Please register or sign in to comment