Barry Warsaw pushed to branch master at mailman / Mailman

Commits:
4d6f3678 by Barry Warsaw at 2017-05-09T13:59:52-04:00
Add an explanatory comment.  See GL#324

- - - - -


1 changed file:

- src/mailman/rest/root.py


Changes:

=====================================
src/mailman/rest/root.py
=====================================
--- 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
+        # sty...@example.com.
         elif len(segments) == 1 and segments[0] == 'styles':
             return Styles(), []
         else:



View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/4d6f367830172f0dda3d1d7a4a8696ebe3bbd9b0

---
View it on GitLab: 
https://gitlab.com/mailman/mailman/commit/4d6f367830172f0dda3d1d7a4a8696ebe3bbd9b0
You're receiving this email because of your account on gitlab.com.
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to