Skip to content

Commit f62cb34

Browse files
committed
chore: fix encoding issue at filter parser
1 parent 0312cc7 commit f62cb34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Utils/Filters/FilterParser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public static function filterExpresion(string $exp)
156156
$op = $matches[0];
157157
$operands = explode($op, $exp, 2);
158158
$field = strtolower(trim($operands[0]));
159-
$value = str_replace(['\\,','\\;'], [',',';'], urldecode($operands[1]));
159+
$value = str_replace(['\\,','\\;'], [',',';'], rawurldecode($operands[1]));
160160
Log::debug(sprintf("FilterParser::filterExpresion field %s op %s value %s", $field, $op, json_encode($value)));
161161
return [$field, $op, $value];
162162
}

0 commit comments

Comments
 (0)