Repository navigation
Username with whitespace - #99
Conversation
|
Maybe do a full url encoding instead of the userId? |
There is a more complex logic currently written by you, which only encodes the file name, but not the folders. Encoding the full path seems to be the correct solution for me? |
|
I was referring to doing URL encoding of the user id, so please do that instead of a simple replace. But you are right, we should encode the full URL too - please do it, and feel free to do it in this PR. |
|
Uri.encode would replace "/" by "%2F" and then the server endpoint does not understand the request. what we can do is to replace "%2F" with "/" after encoding... |
|
Sure.
…On Mon, 8 Jan 2018 at 09:05, Tobias Kaminsky ***@***.***> wrote:
Uri.encode would replace "/" by "%2F" and then the server endpoint does
not understand the request.
e.g: user "admin", path "/delete/" -->
/nc/remote.php/dav/files/admin%2Fdelete%2F
what we can do is to replace "%2F" with "/" after encoding...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAWsmtc_M1ZMVVd7jk2jY50C_qL9iq0ks5tIcwsgaJpZM4QndKt>
.
|
05b5e8c to
b7e7330
Compare
b7e7330 to
93c8bab
Compare
|
@mario done and tested 👍 |
|
Merge
…On Mon, 8 Jan 2018 at 10:42, Tobias Kaminsky ***@***.***> wrote:
@mario <https://github.com/mario> done and tested 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#99 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAWsoPNXIwApQGswfnWwIcvtBQWAvKNks5tIeLzgaJpZM4QndKt>
.
|
As pointed out by @jensd0e, nextcloud can correctly handle usernames with whitespaces in it.
But toggling favorite is not working as the whitespace has to be replaced with %20 as this results in a webdav url.