Permalink
Browse files

Fixes bug when S3Object has a name with only numeric characters.

  • Loading branch information...
karmajunkie
karmajunkie committed Jul 28, 2010
1 parent 5cd500f commit e9f4d3cc4bf2502fa2606e3c91ee18d448c84f0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/aws/s3/object.rb
View
@@ -297,7 +297,7 @@ def path!(bucket, name, options = {}) #:nodoc:
options.replace(bucket)
bucket = nil
end
- '/' << File.join(bucket_name(bucket), name)
+ '/' << File.join(bucket_name(bucket), name.to_s)
end
private

0 comments on commit e9f4d3c

Please sign in to comment.