hypothesis / support-legacy

a place for tracking support-related work and projects
3 stars 0 forks source link

In Safari 14 /search/ on a PsyArXiv page calls in annotations from the wrong URL #194

Open mkdir-washington-edu opened 3 years ago

mkdir-washington-edu commented 3 years ago

Describe the bug When visiting https://psyarxiv.com/qaek6/ in Safari 14 annotations are visible that are not visible in other browsers. The top level annotation is c18e0fb2-73ab-11eb-ac5f-efd89a78797a, which has a target URI of https://psyarxiv.com/. That page has document equivalence issues, but https://psyarxiv.com/qaek6/ is not an equivalent page.

/search/ is looking at https://psyarxiv.com/ instead of the correct page. It is also looking at the wrong PDF fingerprint. The console says the PDF fingerprint is 3eb892bae16c440e8393ff251c027e40 (this matches what’s in Chrome’s console), but search is looking at urn:x-pdf:d4ffda76a7cda3b92f5fd45eeb6c349fb720dc342d0c02e9c1aeb0a028719427.

I can not replicate in Chrome 89, Firefox 87, or Safari 13.

To Reproduce Steps to reproduce the behavior:

  1. In Safari 14 go to https://psyarxiv.com/qaek6/
  2. Open the Dev console and the network tab and refresh the page
  3. Filter on search
  4. See error in the search parameters.

Expected behavior Users would expect Safari 14 to behave the same as other browsers and search the correct page and/or PDF fingerprint.

Screenshots Safari 14 with URL visible: image

Safari 14 with annotations visible: image

Filtering on /search/: image

Desktop (please complete the following information):

Additional context https://app.hubspot.com/contacts/6291320/ticket/357661103/

mkdir-washington-edu commented 3 years ago

FYI - Like in issue https://github.com/hypothesis/support/issues/195 this has been communicated to some folks at OSF.