Chrome cannot handle this link. file:///var/...
Reported by
slash...@gmail.com,
Jun 26 2017
|
|||||
Issue descriptionExample URL: file:///var/mobile/Library/Mail/IMAP-user@host/INBOX.mapmbox/Attachments/106320/2/test.html Steps to reproduce the problem: 1. Receive an E-Mail with an attached HTML document. 2. Open the HTML document in Chrome by sharing it with the app (long tap on the document). 3. The error "Chrome cannot handle this link." occurs. What is the expected behavior? Chrome opens the attachment and properly loads JS, CSS in remote content. What went wrong? The URL is not recognised. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? Yes Chrome version: 59.0.3071.102 Channel: stable OS Version: 10.3.2 Flash Version: This is contrary to how Chrome works in a PC or Mac setting.
,
Jun 26 2017
,
Jun 26 2017
,
Jul 5 2017
Does this work in Firefox or Safari? Desktop Chrome is not a subject to iOS sandbox and can access files on the filesystem.
,
Jul 5 2017
Safari does not appear to allow "Shares" at all, but Firefox and Chrome are listed in the list of possible apps. Custom apps can open these local files, but it would be more useful if a real browser with navigational capabilities could open these standard HTML files.
,
Jul 20 2017
Hi Olivier, Could you please take a look to verify if we can open a file downloaded from another app?
,
Jul 21 2017
Hi First element: The error message you see is not the Chrome application, it is the share extension. Sharing process is a really limited on iOS and the share extension cannot filter the URLs it accepts. At the moment, Chrome Share extension only accepts HTTP(s) URLs and shows an error message on other URLs. As an answer to #4, Firefox does the exact same thing. What is possible to do knowing that? 1. you have to know that what you request is an "Open in Chrome" extension that open shared links in Chrome. This is forbidden by Apple application rules, and it is unlikely that applications like Chrome or Firefox will produce one. You are welcome to file a bug to Apple to request changing this rule and allowing application to have "Open in" extensions. 2. At the point where the extension gets the link, it can read the file. When the extension finishes, the temporary file is deleted. This means that the Chrome application cannot read it. To open this link, we would have to 1. accept file:// URLs in the share extension 2. copy the file in the Chrome container in the share extension 3. allow chrome to open file:// URLs in the container. The third point is not possible at the moment. This would also raise an issue of including online resources in a file:// navigation.
,
Jul 28 2017
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by tkent@chromium.org
, Jun 26 2017