Browse code

fixing the order of public URL components

Yar Dmitriev authored on 2013/03/26 08:53:22
Showing 1 changed files
... ...
@@ -83,7 +83,7 @@ class S3UriS3(S3Uri):
83 83
         if self.is_dns_compatible():
84 84
             return "http://%s.%s/%s" % (self._bucket, Config.Config().host_base, self._object)
85 85
         else:
86
-            return "http://%s/%s/%s" % (self._bucket, Config.Config().host_base, self._object)
86
+            return "http://%s/%s/%s" % (Config.Config().host_base, self._bucket, self._object)
87 87
 
88 88
     def host_name(self):
89 89
         if self.is_dns_compatible():