diff options
| author | Barry Warsaw | 2017-05-09 13:59:52 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2017-05-09 13:59:52 -0400 |
| commit | 4d6f367830172f0dda3d1d7a4a8696ebe3bbd9b0 (patch) | |
| tree | 449e008bcec81f723fe7b196c5fb0a5c00b15d3e /src | |
| parent | b2edcaccbcf5778014b16139feb1a8eb6f31183e (diff) | |
| download | mailman-4d6f367830172f0dda3d1d7a4a8696ebe3bbd9b0.tar.gz mailman-4d6f367830172f0dda3d1d7a4a8696ebe3bbd9b0.tar.zst mailman-4d6f367830172f0dda3d1d7a4a8696ebe3bbd9b0.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/rest/root.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mailman/rest/root.py b/src/mailman/rest/root.py index 407e5ecee..76cf2ba25 100644 --- a/src/mailman/rest/root.py +++ b/src/mailman/rest/root.py @@ -201,6 +201,10 @@ class TopLevel: """ if len(segments) == 0: return AllLists() + # This does not prevent a mailing list being created with a short name + # 'styles', since list identifiers (see below) must either be a + # List-Id like styles.example.com, or an fqdn_listname like + # styles@example.com. elif len(segments) == 1 and segments[0] == 'styles': return Styles(), [] else: |
