[sysadmin-bin] More characters to sanitize the ldap_password field from
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] More characters to sanitize the ldap_password field from
- Date: Fri, 21 Mar 2014 22:24:14 +0000 (UTC)
commit 685661a556dade988f9c4f8e3028fa5322070d96
Author: Andrea Veri <av gnome org>
Date: Fri Mar 21 23:24:10 2014 +0100
More characters to sanitize the ldap_password field from
cleanup-accounts.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/cleanup-accounts.py b/cleanup-accounts.py
index b778685..13293d0 100755
--- a/cleanup-accounts.py
+++ b/cleanup-accounts.py
@@ -20,7 +20,7 @@ for line in lines:
dirty_password = line.split()
ldap_password = str(dirty_password)
- sanitize_file=["ldap_password","=","\""]
+ sanitize_file=["ldap_password","=","\"","'","[","]"]
for i in range(len(sanitize_file)):
ldap_password = ldap_password.replace(sanitize_file[i],"")
file.close()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]