davidagraf / doi2bib2

350 stars 24 forks source link

Blank screen after entering doi (Firefox) #85

Closed gilleslijnzaad closed 1 year ago

gilleslijnzaad commented 2 years ago

I've had this issue for a few months now, making doi2bib unusable on Firefox (version 104.0). I'm on Ubuntu 20.04 LTS.

When I enter a doi and hit get BibTeX, the whole screen goes blank. It does not happen when I use Chromium (version 105.0.5195.102).

Turakar commented 2 years ago

Same happens here, Fedora 35, recent Firefox version. In the browser console, I can find a 404 for the following XHR request:

GET https://www.doi2bib.org/2/doi2bib?id=10.1101/2022.07.20.500902

Turakar commented 2 years ago

This seems to be related to CSRF protections regarding www.doi2bib.org vs doi2bib.org. As such, the problem does not appear if you use www.doi2bib.org instead of doi2bib.org.