file uploaded with length 0

Expected Behavior

The complete file is uploaded

Actual Behavior

A share is created and a file with the length 0.

Steps to Reproduce the Problem

  1. create an attachment with FileLink
  2. click the Upload button to upload to Nextcloud

Specifications

  • Platform: Ubuntu 20.04 LTS
  • Thunderbird Version: 91.5.0
  • Addon Version: 3.13.0

If you have the same problem

If you have additional information on the bug, please post comments with that information.

Please don't post "I have this problem too" comments here, because they make the discussion hard to follow. Instead please use the 👍 button to note that you have the same problem.

The server is based on NextCloud 22.2.3. I don't have a quota.

There is no error on the console and the upload appears to succeed.