0
webdav crashes with space in directory name
I can connect fine to a webdav server but whenever I try to navigate to a folder that has a space in the name the app crashes- no problem navigating to folders with no spaces.
Customer support service by UserEcho
The program crashes the moment you try to navigate to a directory with a space. As long as you touch directories with no space you can keep navigating the tree and open text files within in them.
For what it's worth, I can navigate the same directory tree in GoodReader using the webdav connection, regardless of the presence or absence of spaces in directory names.
I did find an advisory in the institution's help pages which may make you feel like not investing too much time looking into it.
"WebDAV integration isn't working very well with Confluence at the moment. There is an issue with the way that the Confluence WebDAV implementation interacts with the Netscaler appliance that placed in front of all UMMS applications. This message will be removed once the issue has been resolved."
But as I say it works fine with GoodReader which is why I asked if there was a simple explanation, as it does make the app somewhat less useful to me.
I've recently discovered another error that results in a crash when the WebDAV server doesn't send a ContentLength header. This error happens as soon as you try to download a file.
Same issue occurs with folder names that contain {}[]#
or $€¥
and again.... NO ISSUE accessing directories with file names such as this using Readdle.
Any updates?
Some background information:
IIS returns full URLs in its PROPFIND responses instead of relative paths like other WebDAV servers. This is handled by the WebDAV code, but I forgot to escape characters when the server returns paths in this way.
So for example a space character should become "%20", but that code part was missing. That's why it did work for URLs that had no characters in them that needed to be escaped but didn't work for paths with special characters.