summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-11-07 17:44:37 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-11-07 17:44:37 -0200
commitda7b0d3a12c254463f90845566437211682fd647 (patch)
tree91998650d151552f5d848eded73dc6b46634115a /lib
parentdaee316b366cb09a3751301ddb04e28fe339e69d (diff)
downloadkeyringer-da7b0d3a12c254463f90845566437211682fd647.tar.gz
keyringer-da7b0d3a12c254463f90845566437211682fd647.tar.bz2
Allow slashes on filenames
Diffstat (limited to 'lib')
-rwxr-xr-xlib/keyringer/functions2
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