rookie0 / nextcloud-sharing-path

🌩 Nextcloud app to enhance files sharing to be accessed by stored path, can be used as CDN origin.
GNU Affero General Public License v3.0
47 stars 11 forks source link

Issues sharing Text files. #13

Closed sinalta closed 4 years ago

sinalta commented 4 years ago

Nextcloud version: 18.0.3 (Within a Docker image) App version: 0.2.0

I'm seeing 2 issues when trying to share text files:

  1. A short test text file I made doesn't seem to be working at all. It's contents is simply "test text file" and when shared normally this downloads as expected, but doesn't load at all when accessed via sharing path. This file was made in an attempt to test issue 2.

  2. A JSON file I'd like to be able to download into another application is being appended with "null" which is causing an error when tryng to parse it. Null is not there when it is uploaded or downloaded via a standard sharing link, only when accessed via sharing path. Line endings are Unix style.

Is there anything I can do to workaround this second issue? I can provide links to the files in a private message if needed, but I'd rather not post them publically.

rookie0 commented 4 years ago
  1. You can check the nextcloud.log grep by sharingpath(v0.2.1 or v0.2.0 use "request user") for the detail, may be nothing.

  2. Fixed in v0.2.1.

sinalta commented 4 years ago
  1. I don't see anything in the log for it, but it's stopped happening now and the file loads fine. So it might have just been an issue with my server itself.
  2. I just installed it and can confirm it's fixed! Thankyou very much.
rookie0 commented 4 years ago

My pleasure.