Skip to content
Snippets Groups Projects
Commit 4e44306e authored by George Angelopoulos's avatar George Angelopoulos Committed by Jason A. Donenfeld
Browse files

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.
parent 33476f6a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment