amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

"#ampf=undefined" appended in url when opening amp-lightbox.

Open yajiv185 opened this issue 8 years ago • 5 comments

What's the issue?

Whenever we are opening any amp-lightbox, #ampf=undefined is appended in URL. (When comes from google).

How do we reproduce the issue?

You can check for the following sites.

  • https://www.google.co.in/amp/s/www.carwale.com/amp/used/cars-in-jamnagar/ (filter, Get Seller Detail, Check right price, etc will open lightbox)
  • https://www.google.co.in/amp/s/www.makaan.com/lite/mumbai-property/vashi-flats-for-sale-50008 (Connect Now button)

What browsers are affected?

All browsers.

yajiv185 avatar Oct 01 '18 15:10 yajiv185

@ericfs Looks like the Google viewer adds ampf query param on history push. Is there more context on what the query param is for?

I can repro on the second link above (doesn't happen on non-viewer URL of same page).

dreamofabear avatar Oct 01 '18 15:10 dreamofabear

Thanks for the report. Filed internal issue: b/117103357

ericfs avatar Oct 01 '18 18:10 ericfs

This issue seems to be in Pending Triage for awhile. @ericfs Please triage this to an appropriate milestone.

ampprojectbot avatar Jan 24 '19 03:01 ampprojectbot

This appears to be a consequence of the runtime sending the pushHistory message with stackIndex set to "NaN." Perhaps the index is getting munged / lost somewhere along the way?

brandondiamond avatar Jan 29 '19 20:01 brandondiamond

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 Aug 06 '20 04:08 stale[bot]