Error when inserting a direct link to an executable file

Bug report

Environment

  • Platform: macOS
  • Platform version: Sonoma
  • App Version: 5.8.1

How to reproduce

The same behavior is observed on Windows.

Hi Dmitry,

Oops…that wasn’t anticipated!
Well, how can I prevent Electron from downloading it…:thinking:

MIME type?

1 Like

Yes, it should check the MIME type by sending a HEAD request, ideally. But it slightly slows down fetching the page.
Another workaround would be to handle will-download events of the Electron session. I’ll try it after updating the mobile app.

The next version will display an error instead of downloading the file :raised_hands:

1 Like

Landed in v5.9.1! Thanks again for reporting