Issue metadata
Sign in to add a comment
|
Incorrect link copied to clipboard with plus.google.com posts |
||||||||||||||||||||
Issue descriptionApp Version: 64.0.3282.81 beta iOS Version: 11.2.5, 11.1.1 Device: iPhoneX, iPhone7 URL: plus.google.com Steps to reproduce: 1. Launch Google Chrome 2. Navigate to https://plus.google.com (No Need to sign into Google plus) 3. Tap on any post 4. Observe that the URL is a direct link to the post 5. Tap Menu → Share → Copy Observed results: Observe that https://plus.google.com/discover is copied into the clipboard Expected results: Full URL to the post should be copied Number of times you were able to reproduce: 5/5 Bug reproducible after clean install: Yes Bug reproducible after clearing cache and cookies: Yes Bug reproducible on Chrome Mobile on Android: Bug reproducible on Safari/Firefox: Firefox: YES, Safari: YES Bug reproducible on current stable build (App Version, iOS Version): M63 NO Bug reproducible on the current beta channel build (App Version, iOS Version): M64 YES Link to video/image: https://drive.google.com/file/d/1NpQo2fyf6bb_JLB5nX8LIju6ueZg9bBX/view
,
Feb 12 2018
,
Feb 12 2018
The canonical URL is https://plus.google.com/discover, so AFAICT, this is WAI. Adding Android as this is a mobile issue. Keeping ownership as gchatz@ left Adding mardini@ for decision Adding tedchoc@ for Android
,
Feb 12 2018
,
Feb 23 2018
,
Feb 23 2018
Another bug about canonical URL breakage: https://bugs.chromium.org/p/chromium/issues/detail?id=813813
,
Feb 27 2018
To give another repro case with more details on exactly what happens: Chrome Dev 66.0.3352.3 1. Visit https://www.instagram.com/simpsons_meme_factory/ 2. Click on any of the fine wares on display. *Navigation happens via a pushState() rather than a new page request.* The URL in the bar is now something like https://www.instagram.com/p/BfdCdnOFVm9/ 3. Tap menu > share. EXPECTED RESULT: The URL that is shared is: https://www.instagram.com/p/BfdCdnOFVm9/ ACTUAL RESULT: The URL that is shared is: https://www.instagram.com/simpsons_meme_factory/
,
Feb 27 2018
Wearing my webdev hat: I see three issues with this: - Websites that manipulate the URL with pushState/replaceState don't expect to have to (and sometimes can't) update the canonical URL that was first loaded. (This is what the original reporter noticed about Google+, and what I noticed about Instagram.) These sites only expect to set the canonical URL on page load, and not update it with internal nav. - Some websites use the URL to store state that, while it is meaningful and useful to humans, is not useful in the indexing process. (I have a more detailed explanation below.) --- To go into more detail: In the web application I work on, sharing the rel-canonical link isn't something I want to happen in any case. I work on an application with a map, and we use replaceState to generate URLs that look like: https://my-app.example.com/map/place-id?type=something&lat=...&lng=...&zoom=... If a user requests that URL, we show a map centered on the given point at the given zoom level. However, we also include a Link: ... rel=canonical header with this URL: https://my-app.example.com/map/place-id?type=something (i.e., the URL without the lat/lng/zoom) This is explicitly intended, so that when a user shares their page, the recipient sees the exact view they see. However, when accessed by a search engine, the search engine is informed that lat/lng/zoom are irrelevant for indexing, and only the place id and type are important.
,
Feb 28 2018
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by sczs@chromium.org
, Jan 10 2018Status: Assigned (was: Untriaged)