nextcloud / officeonline

officeonline
49 stars 14 forks source link

fix: Properly create new files on public share links #593

Closed juliusknorr closed 1 month ago

juliusknorr commented 2 months ago

Office online creates new files through a separate editnew endpoint. We choose that by detecting that the file is empty. Now it seems that with public share links new files created through the web ui are created as 1 byte files instead of 0 bytes (reason to be found out separately in the files frontend code).

This PR should fix creating new files on public share links for 28/29 (likely also 27).