Skip to content

Commit

Permalink
#4255 - replaced the urldecode method with rawurldecode method which …
Browse files Browse the repository at this point in the history
…is identical other than it doesn't parse the + characters
  • Loading branch information
Levan Apkhazava committed May 2, 2022
1 parent 53ec626 commit dd8693f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Plugin/PersistedQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ protected function processVariables($args): array
$variables = [];

foreach ($args as $key => $value) {
$variables[$key] = json_decode(urldecode($value), true);
$variables[$key] = json_decode(rawurldecode($value), true);
}

return $variables;
Expand Down

0 comments on commit dd8693f

Please sign in to comment.