Skip to content

Commit 38baa16

Browse files
authored
Merge pull request #31 from ryo88c/modify_enc_type
Modify encode type
2 parents 9c3ffce + 8e53102 commit 38baa16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Network/PrepareUrl.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ public function build($url, array $singleParameters, array $compoundParameters)
4545
if (!empty($this->cacheBuster)) {
4646
$this->payloadParameters['z'] = $this->cacheBuster;
4747
}
48-
49-
return $url . '?' . http_build_query($this->payloadParameters);
48+
$query = http_build_query($this->payloadParameters, null, ini_get('arg_separator.output'), PHP_QUERY_RFC3986);
49+
return $url . '?' . $query;
5050
}
5151

5252
/**

0 commit comments

Comments
 (0)