aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Utils.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-07-17Detect 'who' with 1 or 2 arguments as administrivia.Mark Sapiro1-2/+2
2006-08-30CVE-2006-3636. Fixes for various cross-site scripting issues. Discovery bybwarsaw1-1/+1
Moritz Naumann and most of the repair work done by Mark Sapiro (with some additional work by Barry).
2006-07-30Back port Python 2.5 compatibility changes to Mailman 2.1. Specifically,bwarsaw1-3/+5
- In SecurityManager.py, fix the parsecookie() code to work with Python 2.5 generated cookie text. The latter was changed to be more RFC compliant so it does not output trailing semicolons for each line of cookie text. This broke the splitting rules, so now first split on newlines, then on ';\s*'. This should work across all Python versions. - In Python 2.5, exceptions are new-style, and thus are no longer of ClassType. The instantiation type test in hold_for_approval() was too naive. This one is fixed differently here than in the MM trunk because in Python 2.1, 'type' isn't a type, it's a function and so can't be used as the second argument to isinstance() directly. - Raising strings generates deprecation warnings in Python 2.5. Switch the one weird use of this in Utils.py to use a class exception. Don't call it "quick exit" though because it's probably not.
2006-06-23- Decorate.py Fixed bug 1507248 by ignoring header/footer charactersmsapiro1-2/+8
outside the character set of the list's language. - Utils.py Fixed a security hole which allowed a crafted URI to inject bogus apparent messages into the error log, possibly inducing an admin to visit a phishing site.
2006-03-18Improved fix for bug 1275856 to return host part of DEFAULT_URL if any frommsapiro1-7/+5
get_domain() if VIRTUAL_HOST_OVERVIEW off.
2006-03-12Fixed long standing bug (1275856) - get_domain() returned DEFAULT_EMAIL_HOSTmsapiro1-3/+8
instead of DEFAULT_URL_HOST is VIRTUAL_HOST_OVERVIEW was off.
2005-08-27FSF office has moved to 51 Franklin Street.tkikuchi1-1/+1
2005-01-16New names added to ACKNOWLEDGMENTS. Updated NEWS in preparation for 2.1.6b1.bwarsaw1-1/+1
Update copyright years for files changes in 2005. Whitespace normalization.
2005-01-11Sorry, leagality of '%' and '!' is a matter of MTA (of the user's).tkikuchi1-1/+1
Canceling last check in.
2005-01-11Add '%' and '!' in _badchars. They are used for source routing.tkikuchi1-1/+1
2004-12-31Secure_MakeRandomPassword(): Log an error when secure passwords were requestedbwarsaw1-0/+3
but urandom is not available.
2004-12-30From the NEWS file:bwarsaw1-6/+45
- Added the ability for Mailman generated passwords (both member and list admin) to be more cryptographically secure. See new configuration variables USER_FRIENDLY_PASSWORDS, MEMBER_PASSWORD_LENGTH, and ADMIN_PASSWORD_LENGTH. Also added a new bin/withlist script called reset_pw which can be used to reset all member passwords. Passwords generated by Mailman are now 8 characters by default for members, and 10 characters for list administrators.
2004-10-09[ 1030228 ] Mass Subscribe address with control character - can't deletetkikuchi1-1/+1
Also, '/' can be used now.
2004-09-18More error handling for oneline().tkikuchi1-1/+2
2003-12-26oneline(): Another part of TK's patch # 865661. This one adds abwarsaw1-0/+15
utility function that returns a header in an i18n-safe way such that it is guaranteed to span exactly one line.
2003-12-01True/False where appropriate.bwarsaw1-1/+1
2003-10-07wrap(): Minor code cleaning.bwarsaw1-4/+2
2003-09-22Backporting from the HEAD -- Mailman packagebwarsaw1-4/+26
2003-04-07Backporting from trunk.bwarsaw1-41/+49
2003-03-31Backporting from trunkbwarsaw1-1/+1
2003-02-08Backporting from the trunk.bwarsaw1-10/+15