owncloud / owncloud/ios-app

[BUG] Adding a folder with blank at the end, returns lack of permissions

Open
#985 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type:bug
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
  1. have a synced mount with r/w permissions
  2. try create a folder having a trailing blank at the end
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.