From 4fde1e5c528edb90f21d2bbd11d765e8fce78f61 Mon Sep 17 00:00:00 2001 From: desaster Date: Sun, 6 Feb 2011 07:55:35 +0000 Subject: [PATCH] Fix userdb to support passwords containing the ':' character git-svn-id: https://kippo.googlecode.com/svn/trunk@197 951d7100-d841-11de-b865-b3884708a8e2 --- kippo/core/userdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kippo/core/userdb.py b/kippo/core/userdb.py index c56adc9..0ecf214 100644 --- a/kippo/core/userdb.py +++ b/kippo/core/userdb.py @@ -30,7 +30,7 @@ class UserDB: if not line: continue - (login, uid_str, passwd) = string.split(line, ':') + (login, uid_str, passwd) = line.split(':', 2) uid = 0 try: