Skip to content

Commit cc698d5

Browse files
committed
fix
1 parent 97330bc commit cc698d5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Url.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,10 +459,10 @@ protected function parseUrl($url)
459459

460460
parse_str($queryString, $query);
461461

462-
$this->info['query'] = (array) $query;
462+
$this->info['query'] = [];
463463

464-
foreach ($this->info['query'] as $key => $value) {
465-
$fixed[hex2bin($key)] = $value;
464+
foreach ((array) $query as $key => $value) {
465+
$this->info['query'][hex2bin($key)] = $value;
466466
}
467467

468468
array_walk_recursive($this->info['query'], function (&$value) {

0 commit comments

Comments
 (0)