]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Allow @ at file names
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 26 Jul 2015 17:15:09 +0000 (14:15 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 26 Jul 2015 17:15:09 +0000 (14:15 -0300)
lib/keyringer/functions

index 70a107dabd193d8a399347e71b8eaf5deb981971..09b004d72b99e7c9e3d351c351e7ce981a6b0bc1 100755 (executable)
@@ -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