aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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:]