android
android copied to clipboard
Create folder with trailing space when using inbuilt file manager and new folder
⚠️ Before posting ⚠️
- [X] This is a bug, not a question or an enhancement.
- [X] I've searched for similar issues and didn't find a duplicate.
- [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
- [X] I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
- Open the Android File Manager
- Select a file from local storage
- Select ...
- Select Copy to ...
- Select Burger Menu
- Select Nextcloud
- Create a new folder (top right icon)
- Enter "Test " (with a trailing space!)
- Select Copy
Expected behaviour
It should not be possible to create a folder with trailing space or the file should copy without a problem.
Actual behaviour
Folder with trailing space is being created, but file can not be copied. Also future attempts to copy files (via the inbuilt file manager or share option) results in errors. The trailing space in the folder name is very hard to see.
Android version
Android 13
Device brand and model
Sony Xperia 1 III
Stock or custom OS?
Custom (explain in "additional information")
Nextcloud android app version
3.28.0
Nextcloud server version
28.0.3
Using a reverse proxy?
Yes
Android logs
No response
Server error logs
No response
Additional information
I'm not sure if this is actually a problem of the nextcloud android app, because the problem is happening via the inbuilt file manager.
I also tried to create a folder with trailing space in other ways, but was only able to reproduce in the above mentioned way.
I can collect logs if needed to debug this.
I'm using Lineage OS 20.