diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-11-07 17:44:37 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-11-07 17:44:37 -0200 |
commit | da7b0d3a12c254463f90845566437211682fd647 (patch) | |
tree | 91998650d151552f5d848eded73dc6b46634115a /lib | |
parent | daee316b366cb09a3751301ddb04e28fe339e69d (diff) | |
download | keyringer-da7b0d3a12c254463f90845566437211682fd647.tar.gz keyringer-da7b0d3a12c254463f90845566437211682fd647.tar.bz2 |
Allow slashes on filenames
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/keyringer/functions | 2 |
1 files changed, 1 insertions, 1 deletions
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 |