Skip to content

Commit 2491699

Browse files
committed
fixed url query decode
1 parent 6e22601 commit 2491699

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Url.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,10 @@ protected function parseUrl($url)
339339

340340
if (isset($this->info['query'])) {
341341
parse_str($this->info['query'], $this->info['query']);
342+
343+
foreach ($this->info['query'] as &$value) {
344+
$value = urldecode($value);
345+
}
342346
}
343347

344348
if (isset($this->info['path'])) {

0 commit comments

Comments
 (0)