diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-07-26 14:15:09 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-07-26 14:15:09 -0300 |
commit | a690fd2a4ba5975a9e495066621cf468e8e98c43 (patch) | |
tree | 9933220763bdc445e9c1007b5373ebacc688dad2 | |
parent | 1d7d4720df16c41c96e17440b8c6f36658f02ae4 (diff) | |
download | keyringer-a690fd2a4ba5975a9e495066621cf468e8e98c43.tar.gz keyringer-a690fd2a4ba5975a9e495066621cf468e8e98c43.tar.bz2 |
Allow @ at file names
-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 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 |