Browse files

修复ruby 1.8.7环境的BUG

  • Loading branch information...
1 parent 11f5b44 commit 241ce2447c975f40ac0fa089bf83f4ee15bcfd61 mangege committed Oct 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/aliyun/oss/extensions.rb
View
2 lib/aliyun/oss/extensions.rb
@@ -88,7 +88,7 @@ def remove_extended!
else
def remove_extended!
#gsub!(/[\x80-\xFF]/) { "%02X" % $&[0] }
- gsub!(Regext.new('/[\x80-\xFF]')) { "%02X" % $&[0] }
+ gsub!(Regexp.new('[\x80-\xFF]')) { "%02X" % $&[0] }
end
end

0 comments on commit 241ce24

Please sign in to comment.