Skip to content

Commit

Permalink
Merge remote-tracking branch 'ezsystems/ezplatform-solr-search-engine…
Browse files Browse the repository at this point in the history
…/3.3' into 4.5
  • Loading branch information
glye committed Nov 3, 2023
2 parents e23361b + 1005e02 commit 2f8b711
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lib/Gateway/Endpoint.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,7 @@ public function __construct(array $properties = [])
*/
public function getIdentifier()
{
$authorization = (!empty($this->user) ? "{$this->user}:{$this->pass}@" : '');

return "{$authorization}{$this->host}:{$this->port}{$this->path}/{$this->core}";
return "{$this->host}:{$this->port}{$this->path}/{$this->core}";
}

/**
Expand All @@ -107,7 +105,9 @@ public function getIdentifier()
*/
public function getURL()
{
return "{$this->scheme}://" . $this->getIdentifier();
$authorization = (!empty($this->user) ? "{$this->user}:{$this->pass}@" : '');

return "{$this->scheme}://" . $authorization . $this->getIdentifier();
}
}

Expand Down

0 comments on commit 2f8b711

Please sign in to comment.