Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S3Interface create_bucket fails for USA western, singapore buckets #21

Open
tomandersen opened this issue Oct 25, 2010 · 2 comments
Open

Comments

@tomandersen
Copy link

The problem is that you call upcase on the location name "#{headers[:location].to_s.upcase}"

upcase should not be called. But EU needs to be passed in upper case.

See for instance:
http://developer.amazonwebservices.com/connect/message.jspa?messageID=156006

If you remove the upcase, you will break anyone who passed in 'eu' as a location. That's the only exception, so you could use an if statement.

@tomandersen
Copy link
Author

I fixed it myself by creating a tricky subclass of String that refuses to upcase. Just in case anyone needs a workaround for now.

@mfojtik
Copy link
Contributor

mfojtik commented Nov 29, 2010

I sent a pull request with patch that is fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants