[BUG] Adding a folder with blank at the end, returns lack of permissions
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 251
- Forks
- 142
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 3
Description
If you found a bug:
Adding a folder with blank at the end, returns lack of permissions
Steps to reproduce
- have a synced mount with r/w permissions
- try create a folder having a trailing blank at the end
- error message with lack of permissions appears
Expected behavior
Proper handling of creatable folder names
Actual behavior
Error message
Client
iOS version: 14.6
ownCloud app version: 11.6.0
Device model: iPad/iPhone
Server configuration
Web server: nginx
Database: mariadb
PHP version: 7.4
ownCloud version: 10.7
Storage backend (external storage): local, smb, gd
Logs
Web server error log
Nothing relevant
ownCloud log (data/owncloud.log)
Nothing relevant
@michaelstingl @hosy fyi
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing folder creation on a read/write synced mount in the iOS app, using a folder name with a trailing blank. Trace the folder-creation entry point and verify that a creatable name does not produce a permissions error; no specific source file or test is identified in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100