aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbwarsaw <>2005-02-10 14:25:01 +0000
committerbwarsaw <>2005-02-10 14:25:01 +0000
commit9edd6cd56ea2ba2e7b9cd5751b3425d3a6f37c04 (patch)
tree698436132e041bb00fd974a6cc5b1111ce9e7d1b
parent629fcbaac3c0c4ce1da67baf642727a3b78f8500 (diff)
downloadmailman2-9edd6cd56ea2ba2e7b9cd5751b3425d3a6f37c04.tar.gz
mailman2-9edd6cd56ea2ba2e7b9cd5751b3425d3a6f37c04.tar.xz
mailman2-9edd6cd56ea2ba2e7b9cd5751b3425d3a6f37c04.zip
Spelling and copyright years updates.
-rw-r--r--Mailman/Cgi/private.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mailman/Cgi/private.py b/Mailman/Cgi/private.py
index cacc79cd..34b86fe1 100644
--- a/Mailman/Cgi/private.py
+++ b/Mailman/Cgi/private.py
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2003 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2005 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -41,8 +41,8 @@ SLASH = '/'
def true_path(path):
"Ensure that the path is safe by removing .."
- # Workaround for path traverse vulnerablity. Unsuccessfull attempt
- # will be logged in logs/error, anyway.
+ # Workaround for path traverse vulnerability. Unsuccessful attempts will
+ # be logged in logs/error.
parts = [x for x in path.split(SLASH) if x not in ('.', '..')]
return SLASH.join(parts)[1:]