aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Defaults.py.in
diff options
context:
space:
mode:
authorYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2019-03-03 04:33:39 +0900
committerYasuhito FUTATSUKI at POEM <futatuki@poem.co.jp>2019-03-03 04:33:39 +0900
commit0b6ceac5bfe9fad6ce530d0369517516a3822634 (patch)
tree330318f1b7ea1d738a188735dc2f12de8acf813e /Mailman/Defaults.py.in
parentd8ee0235efb4052d0e489ba1dba0af812873df14 (diff)
parentae069ea19ddc31cb1ce9fa48f6b305ee6cdb4266 (diff)
downloadmailman2-0b6ceac5bfe9fad6ce530d0369517516a3822634.tar.gz
mailman2-0b6ceac5bfe9fad6ce530d0369517516a3822634.tar.xz
mailman2-0b6ceac5bfe9fad6ce530d0369517516a3822634.zip
merge lp:mailman/2.1 up to rev 1808
Diffstat (limited to '')
-rwxr-xr-xMailman/Defaults.py.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in
index 5e158e5b..fabd95bd 100755
--- a/Mailman/Defaults.py.in
+++ b/Mailman/Defaults.py.in
@@ -166,6 +166,15 @@ HTML_TO_PLAIN_TEXT_COMMAND = '/usr/bin/lynx -dump %(filename)s'
# character that doesn't match this class. Do not include '/' in this list.
ACCEPTABLE_LISTNAME_CHARACTERS = '[-+_.=a-z0-9]'
+# The number of characters in the longest listname in the installation. The
+# fix for LP: #1780874 truncates list names in web URLs to this length to avoid
+# a content spoofing vulnerability. If this is left at its default value of
+# 0, the length of the longest listname is calculated on every web access.
+# This can have performance implications in installations with a very large
+# number of lists. To use this feature to avoid the calculation, set this to
+# a number equal to the length of the longest expected valid list name.
+MAX_LISTNAME_LENGTH = 0
+
# Shall the user's real names be displayed along with their email addresses
# in list rosters? Defaults to No to preserve prior behavior.
ROSTER_DISPLAY_REALNAME = No