From 0abf51d180c254fa59ccc45dadb7258e019492cd Mon Sep 17 00:00:00 2001 From: gc Date: Sat, 12 Nov 2005 17:04:58 +0000 Subject: [PATCH] *** empty log message *** --- lib/booh/booh-lib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/booh/booh-lib.rb b/lib/booh/booh-lib.rb index c361ecb..29d45cd 100644 --- a/lib/booh/booh-lib.rb +++ b/lib/booh/booh-lib.rb @@ -55,7 +55,7 @@ module Booh #- we remove non alphanumeric characters but need to do that #- cleverly to not end up with two similar dest filenames. we won't #- urlencode because urldecode might happen in the browser. - return orig_filename.unpack("C*").collect { |v| v.chr =~ /[a-zA-Z\-0-9\.\/]/ ? v.chr : sprintf("_%2X", v) }.to_s + return orig_filename.unpack("C*").collect { |v| v.chr =~ /[a-zA-Z\-0-9\.\/]/ ? v.chr : sprintf("_%02X", v) }.to_s end def msg(verbose_level, msg) -- 2.30.2