Skip to content

Commit

Permalink
Fix lowercase in vhost slash encoding odolbeau#37
Browse files Browse the repository at this point in the history
  • Loading branch information
romainjanvier committed Jul 5, 2018
1 parent 096381d commit 5f5196b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bab/RabbitMq/VhostManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class VhostManager
public function __construct(array $credentials, Action $action, HttpClient $httpClient)
{
$this->credentials = $credentials;
$this->credentials['vhost'] = str_replace('/', '%2F', $this->credentials['vhost']);
$this->credentials['vhost'] = str_replace('/', '%2f', $this->credentials['vhost']);
$this->action = $action;
$this->action->setVhost($this->credentials['vhost']);
$this->httpClient = $httpClient;
Expand Down

0 comments on commit 5f5196b

Please sign in to comment.