s3tools/s3cmd — pull request #147 by yar (2013-03-26 00:06:34+00:00)
Title: fix the public link format for non-DNS-conformant buckets

Noticed the problem while uploading to a bucket with a capital letter in its name. We were getting public links in the wrong form:

http://bucketName/s3.amazonaws.com/filename

rather than the correct:

http://s3.amazonaws.com/bucketName/filename

The patch fixes it.