From da7b0d3a12c254463f90845566437211682fd647 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 Nov 2013 17:44:37 -0200 Subject: Allow slashes on filenames --- lib/keyringer/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/keyringer/functions b/lib/keyringer/functions index 0864b91..e2face1 100755 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -348,7 +348,7 @@ function keyringer_get_new_file { fi # Sanitize and complete file name - FILE="`echo $FILE | sed -e s/[^A-Za-z0-9.]/_/g`" + FILE="`echo $FILE | sed -e s/[^A-Za-z0-9.\/]/_/g`" FILE="$(keyringer_filename "$FILE")" if [ -z "$FILE" ]; then -- cgit v1.2.3