⚠️ This issue respects the following points: ⚠️
Bug description
Filenames and foldernames with spaces are shown with %20 instead:

Folder creation seems to work fine but on a reload they are also shown with %20.
Steps to reproduce
- Run the current master branch
- Go to apps/files and create a folder and upload a file with spaces in the name
- Reload the page
- See the
%20 like on the screenshot
Expected behavior
Properly handle spaces inside file and folder names - i.e. display them as a simple space.
Installation method
Other Community project
Nextcloud Server version
master
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
SQlite
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
{
"system": {
"debug": true,
"profiler": true,
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/apps-extra",
"url": "\/apps-extra",
"writable": false
},
{
"path": "\/var\/www\/html\/apps-writable",
"url": "\/apps-writable",
"writable": true
}
],
"allow_local_remote_servers": true,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_sendmailmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "1025",
"skeletondirectory": "\/skeleton",
"loglevel": 2,
"log_query": false,
"query_log_file": "\/var\/www\/html\/data\/query.log",
"diagnostics.logging": false,
"diagnostics.logging.threshold": 0,
"log.condition": {
"apps": [
"diagnostics",
"admin_audit"
]
},
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"nextcloud",
"nextcloud.local",
"192.168.23.6",
"localhost"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "28.0.0.2",
"overwrite.cli.url": "https:\/\/nextcloud.local",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"updater.release.channel": "git",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"memcache.local": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"overwriteprotocol": "https",
"app_install_overwrite": [
"collectives"
],
"default_language": "en",
"force_language": "en",
"default_locale": "en_US",
"force_locale": "en_US",
"theme": "",
"maintenance": false
}
}
List of activated Apps
Enabled:
- circles: 28.0.0-dev
- cloud_federation_api: 1.11.0
- collectives: 2.8.1
- comments: 1.18.0
- contacts: 5.4.0-rc.1
- contactsinteraction: 1.9.0
- dashboard: 7.8.0
- dav: 1.28.0
- federatedfilesharing: 1.18.0
- federation: 1.18.0
- files: 2.0.0
- files_pdfviewer: 2.9.0
- files_reminders: 1.0.0
- files_sharing: 1.20.0
- files_trashbin: 1.18.0
- files_versions: 1.21.0
- lookup_server_connector: 1.16.0
- notifications: 2.16.0
- oauth2: 1.16.2
- provisioning_api: 1.18.0
- recommendations: 2.0.0
- settings: 1.10.0
- sharebymail: 1.18.0
- systemtags: 1.18.0
- text: 3.9.0
- theming: 2.3.0
- twofactor_backupcodes: 1.17.0
- updatenotification: 1.18.0
- user_oidc: 1.3.3
- user_status: 1.8.1
- viewer: 2.2.0
- weather_status: 1.8.0
- workflowengine: 2.10.0
Disabled:
- admin_audit: 1.18.0
- data_request: 1.15.0
- deck: 1.11.0-dev
- encryption: 2.16.0
- files_automatedtagging: 1.18.0
- files_external: 1.20.0
- files_lock: 27.0.0
- files_retention: 1.16.0
- files_zip: 1.4.0
- hmr_enabler: 1.0.0
- mail: 3.1.0-alpha.1
- notestutorial: 20.0.0
- password_policy: 1.18.0 (installed 1.18.0)
- profiler: 1.2.0
- richdocuments: 8.1.0-dev.1
- tables: 0.4.0
- testing: 1.18.0
- user_ldap: 1.19.0
Nextcloud Signing status
git clone does not do integrity checks to my knowledge.
Nextcloud Logs
No response
Additional info
This is on a nextcloud-docker-dev instance.
Bug description
Filenames and foldernames with spaces are shown with

%20instead:Folder creation seems to work fine but on a reload they are also shown with
%20.Steps to reproduce
%20like on the screenshotExpected behavior
Properly handle spaces inside file and folder names - i.e. display them as a simple space.
Installation method
Other Community project
Nextcloud Server version
master
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
SQlite
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
{ "system": { "debug": true, "profiler": true, "apps_paths": [ { "path": "\/var\/www\/html\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/www\/html\/apps-extra", "url": "\/apps-extra", "writable": false }, { "path": "\/var\/www\/html\/apps-writable", "url": "\/apps-writable", "writable": true } ], "allow_local_remote_servers": true, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "1025", "skeletondirectory": "\/skeleton", "loglevel": 2, "log_query": false, "query_log_file": "\/var\/www\/html\/data\/query.log", "diagnostics.logging": false, "diagnostics.logging.threshold": 0, "log.condition": { "apps": [ "diagnostics", "admin_audit" ] }, "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "nextcloud", "nextcloud.local", "192.168.23.6", "localhost" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "28.0.0.2", "overwrite.cli.url": "https:\/\/nextcloud.local", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "updater.release.channel": "git", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 6379 }, "memcache.local": "\\OC\\Memcache\\Redis", "memcache.locking": "\\OC\\Memcache\\Redis", "overwriteprotocol": "https", "app_install_overwrite": [ "collectives" ], "default_language": "en", "force_language": "en", "default_locale": "en_US", "force_locale": "en_US", "theme": "", "maintenance": false } }List of activated Apps
Nextcloud Signing status
git clone does not do integrity checks to my knowledge.Nextcloud Logs
No response
Additional info
This is on a nextcloud-docker-dev instance.