diff options
| -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: |
