Skip to content

Commit

Permalink
Using only urlencode() for query params
Browse files Browse the repository at this point in the history
  • Loading branch information
kg-bot committed Feb 21, 2020
1 parent 250817c commit f175579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Builders/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ protected function parseFilters($filters = [] )
$sign = !empty($filter[2]) ? $filter[1] : '=';
$value = $filter[2] ?? $filter[1];

$urlFilters .= $filter[0] . $sign . rawurlencode(rawurlencode($value));
$urlFilters .= $filter[0] . $sign . urlencode($value);

if (count($filters) > $i) {

Expand Down

0 comments on commit f175579

Please sign in to comment.