[Bug]: URL encoding on group names with whitespace
Open
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: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
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
- Create a group "Test Group" - Use Whitespace
- 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
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
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