New issue
Advanced search Search tips

Issue 751252 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: ----



Sign in to add a comment

ChromeFileProvider is not granting permissions if the content URL has text in chinese language

Project Member Reported by tbhangoo@google.com, Aug 1 2017

Issue description

Device: Pixel XL
Build: Android 7.1 and Android O
Chrome version: 59.0.3071.125
UC version: 11.3.8.976; 
Google Play Service:11.0.55(446-156917137)

Details:
UCBrowser is not able to resolve a txt file in chinese language because of SecurityException. However, there is no such issue if the file is in English.

Reproduce Steps:
1. Download UC Browser.
2. In chrome, download a .txt file (in chinese language). 
3. Click menu item, and select 'Downloads'.
4. Open the .txt file, and then Click the 'Options' icon to select the 'Open with' option. 
5. Choose the UC Text View.

Expected Result: UC is able to open the .txt file successfully.
Observed Result: UC pop up the network connection failure interface (Or crashes)

I think that when the file name is in Chinese and the URL has chinese text in it, then the permissions are not granted by the provider, which causes the security exception. Is it possible that the Chrome Provider is not granting permissions for the text files with names in language other than English, or is there a problem in parsing the URL with different language?

I have created an internal bug as well. You can find bug report and screen video there.
b/64041838

Thanks!


 
Cc: prashanthpola@chromium.org
Labels: triage-te
Components: UI>Browser>Downloads
Labels: -triage-te M-61
Owner: qin...@chromium.org
Status: Assigned (was: Unconfirmed)
We are able to repro this issue on chrome:59.0.3071.25 Device:Pixel Xl/7.1.1, Nexus 5X/7.1.1 and Nexus 6/6.0.1

Sign in to add a comment