Skip to content

Commit

Permalink
Merge pull request #44 from dfeyer/bugfix-support-http-get-arguments
Browse files Browse the repository at this point in the history
Merge with previous votes.
  • Loading branch information
daniellienert authored Jun 15, 2016
2 parents fba5867 + fe4e9b9 commit 919652e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/Flowpack/ElasticSearch/Transfer/RequestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ public function request($method, \Flowpack\ElasticSearch\Domain\Model\Client $cl

$uri = clone $clientConfiguration->getUri();
if ($path !== null) {
if (strpos($path, '?') !== false) {
list($path, $query) = explode('?', $path);
$uri->setQuery($query);
}
$uri->setPath($uri->getPath() . $path);
}

Expand Down

0 comments on commit 919652e

Please sign in to comment.