amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

Canonical Sharing: add an ampshare parameter to the hash fragment

Open ericfs opened this issue 8 years ago • 4 comments

Internal: b/72388029

In order to support extraction of the canonical URL by a parent App that can only access the location, the Canonical URL that should be used for sharing needs to be added to the location as a parameter in the hash fragment.

ericfs avatar Jan 29 '18 21:01 ericfs

Sounds like the runtime needs to share the canonical URL with the viewer, but isn't hash fragment used for viewer to document communication? I'm missing something clearly.

dreamofabear avatar Feb 07 '18 05:02 dreamofabear

It's only used for viewer->document initialization. After that it should be safe to change.

ericfs avatar Feb 07 '18 14:02 ericfs

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 18 '20 00:03 stale[bot]

Fixed by #14224.

dreamofabear avatar Mar 18 '20 15:03 dreamofabear