Describe the bug
For example, the file is named firstword%20secondword.pdf
An error like the following is shown in the Docker logs when someone tries to download such a file from their personal storage or from a space:
INF access-log bytes=0 duration=19.142178 line=github.com/opencloud-eu/opencloud/services/proxy/pkg/middleware/accesslog.go:34 method=GET path="/remote.php/dav/spaces/<uuid>/firstword secondword.pdf" proto=HTTP/1.0 remote-addr=x.x.x.x request-id=edf75f1490de/kpX31ict7d-160173 service=proxy status=404 traceid=042a69c9d2fa0deba4450b9c1e70a929
However, if the file is shared with someone else, the other person is able to download it.
It seems to me that downloads from personal or shared space storage decode '%20' as a space character, while downloads of shared files do not.
Steps to reproduce
- Create a file with '%20' in its name in a personal storage or space
- Try to download it via the Download button in the web UI
Expected behavior
The %20 should not be parsed as a space character and the user is able to download it.
Actual behavior
The user gets a 404 error in web UI, when he tries to download a file with '%20' in its name.
Setup
OpenCloud 4.0.7 via docker compose
Describe the bug
For example, the file is named firstword%20secondword.pdf
An error like the following is shown in the Docker logs when someone tries to download such a file from their personal storage or from a space:
However, if the file is shared with someone else, the other person is able to download it.
It seems to me that downloads from personal or shared space storage decode '%20' as a space character, while downloads of shared files do not.
Steps to reproduce
Expected behavior
The %20 should not be parsed as a space character and the user is able to download it.
Actual behavior
The user gets a 404 error in web UI, when he tries to download a file with '%20' in its name.
Setup
OpenCloud 4.0.7 via docker compose