# Bug OP-18944 - Can't create automatically managed project folder when project name contains forbidden Nextcloud characters

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18944

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Modules and project features / File storages |
| Target versions | 17.1.3 |
| Observed in versions | 17.1.0 |
| Sprint | 17.1.3 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.1.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable | Dominic Bräunlein |
| Product manager |  |
| Developers | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Setup a storage connection between OpenProject and Nextcloud, including automatically managed project folders
    
2.  Ensure that Nextcloud has [windows compatible file names](https://docs.nextcloud.com/server/stable/admin_manual/configuration_files/windows_compatible_filenames.html) enforced
    
    1.  Alternatively configure `forbidden_filename_characters` via `occ`/`config.php`
        
3.  Create a project that contains invalid characters, e.g. a colon: `My forbidden project: This`
    

### What is the buggy behavior?

Creation of the automatically managed project folder fails.

### What is the expected behavior?

Creating the project folder should succeed, silently replacing unsupported characters.

### Environment information

**OpenProject version**

17.1 (essentially independent of OpenProject version)

**Nextcloud version**

31 and above (there are also repro steps for lower versions)
