@@ -272,7 +272,7 @@ discard block |
||
272 | 272 | */ |
273 | 273 | public function getUrl($path) |
274 | 274 | { |
275 | - return $this->normalizeHost() . ltrim($path, '/'); |
|
275 | + return $this->normalizeHost().ltrim($path, '/'); |
|
276 | 276 | } |
277 | 277 | |
278 | 278 | /** |
@@ -410,14 +410,14 @@ discard block |
||
410 | 410 | if ($this->isCName) { |
411 | 411 | $domain = $this->endpoint; |
412 | 412 | } else { |
413 | - $domain = $this->bucket . '.' . $this->endpoint; |
|
413 | + $domain = $this->bucket.'.'.$this->endpoint; |
|
414 | 414 | } |
415 | 415 | |
416 | 416 | if (0 !== stripos($domain, 'https://') && 0 !== stripos($domain, 'http://')) { |
417 | 417 | $domain = "http://{$domain}"; |
418 | 418 | } |
419 | 419 | |
420 | - return rtrim($domain, '/') . '/'; |
|
420 | + return rtrim($domain, '/').'/'; |
|
421 | 421 | } |
422 | 422 | |
423 | 423 | /** |