9001 / 9001/copyparty

idp groupnames cannot contain `:`

Open
#1,461 0 comments 0 reactions 1 assignee Claimed by @9001 View on GitHub
bug
Dominant language
Python
Stars
46.6k
Forks
1.9k
Avg merge
10d 16h
Merged PRs (30d)
5

Description

given an idp-group with the literal name `GRP:foo` as used in the below config, the server will crash on startup:

```yaml
[/]
srv
accs:
A: @GRP:foo
```

**workaround:** until this is fixed, remap `:` to `/` or something else;

```yaml
[global]
idp-chsub: |:/|

[/]
srv
accs:
A: @GRP/foo
```

the crash is an errormessage complaining that the config syntax is invalid due to an exception from the following sanchk: https://github.com/9001/copyparty/blob/da6e2ddca96dffc4dbe53bda25d2034428fad3d0/copyparty/authsrv.py#L1521-L1522

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.