New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 840457 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Chrome for Android shares wrong url

Reported by m...@getpocket.com, May 7 2018

Issue description

Steps to reproduce the problem:
1. Open https://blog.strongbrew.io/rxjs-best-practices-in-angular/#ascii-marble-diagrams in Chrome for Android
2. Tap menu, then share. Share to some app or clipboard.
3. The url that is shared is an invalid url "https://rxjs-best-practices-in-angular/"

What is the expected behavior?
It should share the url of the current page.

What went wrong?
It shares a partial/corrupted url

Did this work before? N/A 

Chrome version: 66.0.3359.126  Channel: stable
OS Version: Android 8.1.0
Flash Version: ?

I haven't tested other urls, not sure if it is only .io domains or something specific with this one url
 
Labels: Needs-triage-Mobile
Cc: nyerramilli@chromium.org pnangunoori@chromium.org sandeepkumars@chromium.org
Components: UI>Browser>Mobile>Share
Labels: hasbisect-per-revision FoundIn-66 Target-67 M-68 RegressedIn-64 Target-66 M-66 M-67 Triaged-Mobile FoundIn-67 FoundIn-68 Target-68
Owner: tedc...@chromium.org
Status: Assigned (was: Unconfirmed)
Tested the issue in Android and able to reproduce the issue. 

Steps Followed:
1. Launch Chrome.
2. Open https://blog.strongbrew.io/rxjs-best-practices-in-angular/#ascii-marble-diagrams in Chrome for Android
3. Tap menu, then share. Share to some app or clipboard.
4. The url that is shared is an invalid url "https://rxjs-best-practices-in-angular/"

Chrome versions tested:
66.0.3359.126(Stable), 68.0.3420.1(Canary)

OS:
Android 8.1.0

Android Devices:
Pixel 2

Using the per-revision bisect providing the bisect results,
Good Build - 64.0.3264.0 
Bad Build - 64.0.32645.0 

You are looking for a change made after 515684(GOOD), but before 515685(BAD).

CHANGELOG URL:
The script might not always return single CL as suspect as some perf builds might get missing due to failure.
https://chromium.googlesource.com/chromium/src/+/cd0d03a00f2e1d73c1930dec6611aaabee932e37

@tedchoc: Could you please look into the issue, pardon me if it has nothing to do with your changes and if possible please assign it to owner concerned.

Please navigate to below link for log's and video--
go/chrome-androidlogs/840457

Note: 
1. This issue is not observed in Desktop.
2. This issue is not observed in FireFox mobile version.

Thanks!

Cc: tedc...@chromium.org
Owner: somo...@chromium.org
Status: WontFix (was: Assigned)
This looks like an issue with just this site.

Chrome switched to sharing the canonical URL in the CL mentioned above and it looks like this site isn't formatted correctly:

<link rel="canonical" href="//rxjs-best-practices-in-angular/">

They need to drop one of the leading '/'s.

Comment 4 by m...@getpocket.com, May 9 2018

Admittedly I don't have the context of why the change to canonical url sharing was made, but I do wonder if this can just lead to confusion in general, since it can lead to the user sharing a different url than what they see in their address bar?

Also, not sure how often websites could get their canonical urls wrong, but would there be any value to having Chrome validate the url and fallback to the visual one if it is invalid?

Thanks for looking into this. Cheers
Status: Assigned (was: WontFix)
Updating this issue from Buganizer - b/109879787

1. Open Android chrome 
2. Navigate to: https://www.axs.com/events/355164/thrice-tickets?skin=regency&src=AEGLIVE_WREGYSFO030115VEN001 
3. Tap the Chrome overflow menu 
4. Choose share... 
5. Copy to clipboard (or share to any app) 
6. Observed that the shared link will be - https://www.axs.com/events/355164/www.axs.com/events/355164/thrice-tickets 

somogyi@ -- Could you please confirm whether it is the expected behavior or not.

Thanks!
Cc: -pnangunoori@chromium.org somo...@chromium.org
Owner: pnangunoori@chromium.org
Status: WontFix (was: Assigned)
Based on the examples in #c2 and #c5 this is correct behavior.

The canonical URL is the one that should be shared; it's the responsibility of the site to supply a correct and correctly-formed canonical link.

Sign in to add a comment