[Bug] Some users cannot download PDF files using Google Chrome (now reproducible with demo + VM)

More relevations:

  1. It’s not limited to the share link - I was able to reproduce it with a logged-in user viewing their own library

  2. It’s not just version 12 - the bug exists in even in the latest version (13.0.7) on the demo site (Log In - Seafile Demo)

  3. I was able to reproduce using a Windows 11 Virtual Machine on my Mac through UTM

DEMO:

For example, visiting this URL in other browsers (and my Chrome natively) does download the PDF, but not my virtual machine (or a few of my users):