Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Commit 4e80ea8

Browse files
committed
Decode pagination link query string (no reason for it to be encoded)
1 parent d25a3f4 commit 4e80ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LinksTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ private function addPaginationLink($name, $url, array $queryParams, $offset, $li
128128
$page['limit'] = $limit;
129129
}
130130

131-
$queryString = http_build_query($queryParams);
131+
$queryString = urldecode(http_build_query($queryParams));
132132

133133
$this->addLink($name, $url.($queryString ? '?'.$queryString : ''));
134134
}

0 commit comments

Comments
 (0)