lib/s3backup/manager.rb in s3backup-0.6.9 vs lib/s3backup/manager.rb in s3backup-0.6.10
- old
+ new
@@ -6,10 +6,10 @@
require 's3backup/crypt'
module S3backup
class Manager
DEFAULT_BUF_READ_SIZE=1024*1024*32
def shell_name(str)
- str.gsub!(/[!"$&'()*,:;<=>?\[\]\\^`{|}\s]/, '\\\\\&')
+ str.gsub!(/[!#"$&'()*,:;<=>?\[\]\\^`{|}\s]/, '\\\\\&')
a=[]
str.each_byte{|i|
if i < 0x80
a.push(sprintf("%c",i))
else