Skip to content

Commit 399adc5

Browse files
committed
fix: Fixed a logic error where query parameters with duplicate values could be removed from the resulting destination URL
1 parent 210ab62 commit 399adc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/UrlHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static function combineQueryStringsFromUrls(...$urls): string
4141
parse_str($parsedUrl['query'] ?? '', $params);
4242
$queryParams[] = $params;
4343
}
44-
$queryParams = array_unique(array_merge([], ...$queryParams), SORT_REGULAR);
44+
$queryParams = array_merge([], ...$queryParams);
4545

4646
return http_build_query($queryParams);
4747
}

0 commit comments

Comments
 (0)