nextcloud / nextcloud/server

[Bug]: URL encoding on group names with whitespace

Open
#57,364 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 32-feedback bug feature: users and groups hotspot: account name handling
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

Creating a user group with whitespace works, but I am unable to view it. This will result in an error because the Group Name seems to be double encoded:

https://cloud.test.tld/settings/users/Test%2520Group - %25 is a %

Setup:

  • Nextcloud Hub 25 Autumn (32.0.3) (official Docker image)
  • Traefik as ingress
Steps to reproduce
  1. Create a group "Test Group" - Use Whitespace
  2. Click the group on the left will show an error
Expected behavior

Show content of group

Nextcloud Server version

32

Operating system

Debian/Ubuntu

PHP engine version

None

Web server

None

Database engine version

None

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

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

No response

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

Reproduce the group-navigation failure with a name containing whitespace and trace the settings users group-click entry point that builds the URL. Add a regression test for the encoded group name; done means the URL is encoded once and the group content opens successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.