orgzly-revived / orgzly-android-revived

Outliner for taking notes and managing to-do lists
https://www.orgzlyrevived.com
GNU General Public License v3.0
633 stars 40 forks source link

WebDAV sync doesn't work if there's a space in the folder name. #380

Open r4dian opened 1 week ago

r4dian commented 1 week ago

When you have a folder named org files:

  1. If you set the URL in Orgzly as https://███████.cloud/remote.php/dav/files/████%40████████.co.uk/org files (with the space) then "Test Connection" fails
  2. If you set the URL in Orgzly as https://███████.cloud/remote.php/dav/files/████%40████████.co.uk/org%20files (with %20 where the space would go) then "Test Connection" succeeds & finds the correct amount of note books, then when you try to sync each one appears, but gets error 404 & can't sync.
  3. If you leave the folder off the URL and tick the use subfolders option, the result is the same as 2, and you can see the URL for each file is using org%20files/ as the folder name.

Please complete the following information:

Device: Sony Xperia 10 III (aka XQ-BT52)
Android Version: 13
Orgzly Revived Version: 1.8.28 (via f-droid )
Sync repository type (directory/Dropbox/WebDAV/Git): WebDAV

I missed several updates cos I didn't know f-droid had newer versions than one I was on, so unfortunately don't know in which version this broke.

image

amberin commented 1 week ago

Thanks for reporting, if this used to work then it's pretty serious. I'll look into it ASAP.

r4dian commented 1 week ago

I last used it this way in Orgzly (RIP) rather than Orgzly Revived & have been syncing it thorough the Nextcloud app since.