qoobaa / s3

Library for accessing S3 objects and buckets, supports EU and US buckets
MIT License
258 stars 112 forks source link

Amazon supports mixed case letters for bucket names #1

Closed kuccello closed 14 years ago

kuccello commented 14 years ago

I kept getting an exception when I had buckets with upper case letters. Here is the patch.

bucket.rb

@@ -180,7 +180,7 @@ module S3 end

 def name_valid?(name)
kuccello commented 14 years ago

wow that message got garbled by github! If you add a lower case i to the end of the regexp after the / then the issue goes away.

qoobaa commented 14 years ago

Thanks for the patch - fixed in 0.2.4.