summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-26 14:15:09 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-26 14:15:09 -0300
commita690fd2a4ba5975a9e495066621cf468e8e98c43 (patch)
tree9933220763bdc445e9c1007b5373ebacc688dad2 /lib
parent1d7d4720df16c41c96e17440b8c6f36658f02ae4 (diff)
downloadkeyringer-a690fd2a4ba5975a9e495066621cf468e8e98c43.tar.gz
keyringer-a690fd2a4ba5975a9e495066621cf468e8e98c43.tar.bz2
Allow @ at file names
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 70a107d..09b004d 100755
--- a/lib/keyringer/functions
+++ b/lib/keyringer/functions
@@ -480,7 +480,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'`"
# Warn user about file name change
if [ "`basename "$*"`" != "`basename $FILE`" ]; then