Skip to content

[Bug]: multiple consecutive spaces in folder name breaks folder access #48136

Open
@mrAceT

Description

⚠️ This issue respects the following points: ⚠️

Bug description

I have a folder with a single quote in it ( ' ) and a plus sign in it ( + ) I expected that to be the problem, but when I created a test folder named te+s't there was not any problem in accessing that folder including its test files.

Then I noticed that the problem folder also contained two spaces. I first tested with one space "t e+s't". That also did not result in any problems. But adding a second space after the first one all access to that folder was lost via the web interface and also the desktop client gave errors (I run windows 10 desktop client version 3.14.0)

Steps to reproduce

  1. create a folder with name "t e+s't" (TWO spces between the 't' and the 'e' !)
  2. sync via the desktop client
  3. see the errors mounting..

Expected behavior

I understand two spaces is a bit odd.. but it can happen.. and should work..

Nextcloud Server version

28

Operating system

RHEL/CentOS

PHP engine version

PHP 8.1

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

I am hesitant to do more testing since I am unable to correct the problem.

I use nextcloud with S3 for data storage. The file id's are there. I simply can't access them. A problem in the DAV connector ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions