From: Silvio Rhatto Date: Thu, 7 Nov 2013 19:44:37 +0000 (-0200) Subject: Allow slashes on filenames X-Git-Tag: 0.2.7~24 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=da7b0d3a12c254463f90845566437211682fd647;p=keyringer.git Allow slashes on filenames --- 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