summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorGeorge Angelopoulos <george@usermod.net>2014-04-23 17:04:54 +0300
committerJason A. Donenfeld <Jason@zx2c4.com>2014-04-23 16:24:46 +0200
commit4e44306e8c10fcea59f6927035ce9b956d4140e9 (patch)
tree5eb398716a322519a05d89cebb25e71d3a810597 /contrib
parent33476f6a3b5688c80b8b845d37b322edd3440c12 (diff)
downloadpass-4e44306e8c10fcea59f6927035ce9b956d4140e9.tar.gz
pass-4e44306e8c10fcea59f6927035ce9b956d4140e9.tar.bz2
pass-4e44306e8c10fcea59f6927035ce9b956d4140e9.zip
keepassx2pass: handle forward slash '/' in titles
Without this, a forward slash in the title creates a new directory in the password-store. This replaces forward slashes with dashes.
Diffstat (limited to '')
-rwxr-xr-xcontrib/importers/keepassx2pass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/importers/keepassx2pass.py b/contrib/importers/keepassx2pass.py
index 1505edc..532b8d0 100755
--- a/contrib/importers/keepassx2pass.py
+++ b/contrib/importers/keepassx2pass.py
@@ -26,7 +26,7 @@ def space_to_camelcase(value):
def cleanTitle(title):
# make the title more command line friendly
- title = re.sub("(\\|\||\(|\))", "-", title)
+ title = re.sub("(\\|\||\(|\)|/)", "-", title)
title = re.sub("-$", "", title)
title = re.sub("\@", "At", title)
title = re.sub("'", "", title)
ass='deletions'>-21/+61 2008-01-14 r618@Devoty: necoro | 2008-01-14 20:19:05 +0100Necoro2-35/+57 2008-01-14 r617@Devoty: necoro | 2008-01-14 19:12:59 +0100Necoro2-10/+10 2008-01-14 r609@Devoty: necoro | 2008-01-14 17:04:38 +0100Necoro9-394/+477 2008-01-14 r605@Devoty: necoro | 2008-01-14 11:43:34 +0100Necoro2-26/+129 2008-01-14 r603@Devoty: necoro | 2008-01-14 11:30:26 +0100Necoro4-26/+38 2008-01-11 r598@Devoty: necoro | 2008-01-10 16:36:29 +0100Necoro4-10/+50 2008-01-11 r597@Devoty: necoro | 2008-01-10 14:12:35 +0100Necoro1-3/+3 2008-01-10 r595@Devoty: necoro | 2008-01-10 04:04:15 +0100Necoro1-52/+3 2008-01-09 r586@Devoty: necoro | 2008-01-09 14:54:18 +0100Necoro1-1/+1 2007-12-06 r577@Devoty: necoro | 2007-12-06 20:37:36 +0100Necoro1-1/+1 2007-12-06 r572@Devoty: necoro | 2007-11-28 08:48:15 +0100Necoro1-0/+1 2007-11-27 r570@Devoty: necoro | 2007-11-27 02:08:21 +0100Necoro3-84/+108