New issue
Advanced search Search tips

Issue 779067 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Oct 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

Opening https from Safari removes colon in Chrome.

Reported by mboyle1...@gmail.com, Oct 27 2017

Issue description

Example URL:
googlechrome://https://google.com

Steps to reproduce the problem:
1. Open Safari in iOS
2. Type googlechrome://https://google.com into the URL
3. Accept open in Google Chrome

What is the expected behavior?
Chrome will open and be directed to the page stated in Safari.

What went wrong?
Chrome will open and remove the colon attempting to open https//google.com

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: 61.0.3163.100  Channel: n/a
OS Version: 10.0
Flash Version: 

I've tried this in 9.3.5 and more recent iterations of iOS 10. Also attempted with FireFox and that browser completely ignores anything in the URL field.

using googlechrome://google.com does work, but if an alternate page does not have an http redirect to https is where we start having problems. 

This was found when using an MDM Solution for iOS trying to deploy webclips to devices to open specifically in chrome.
 
Cc: pkl@chromium.org
Components: -Blink Mobile>Intents
I am able to reproduce the steps on iOS11 device as well.

Although I am not sure step#2 is the correct way to open https pages.
I use googlechrome:// for http pages, and googlechromes:// for https pages.
So If I replace step#2 with googlechromes://example.org it always opens https://example.org.

Adding dev, to confirm the behavior.

Comment 2 by pkl@chromium.org, Oct 27 2017

Status: WontFix (was: Unconfirmed)
If you want to use https, you should use googlechromes://www.google.com.

googlechrome://https://google.com is probably parsed as if the hostname is "https" and the ":" is the separator before the port number. Since a port number is not specified, the ":" is stripped. 

It's not a bug. Please use the correct "googlechromes" syntax.

Awesome! Thank you very much. This worked out great. A co-worker and I scoured all we could looking for documentation on how to properly pass information to the iOS version of the browser and was unable to find any. 

Comment 4 by pkl@chromium.org, Oct 30 2017

We have sample code in github: https://github.com/googlearchive/OpenInChrome

Sign in to add a comment