Fix issue with redirects by replacing delimiter
This commit is contained in:
@@ -72,7 +72,7 @@ class FilterSettingsEncoder
|
|||||||
$method = 'get' . ucfirst($name);
|
$method = 'get' . ucfirst($name);
|
||||||
$value = $filterSettings->{$method}();
|
$value = $filterSettings->{$method}();
|
||||||
if ($type === 'array') {
|
if ($type === 'array') {
|
||||||
$encoded[] = implode(',', $value);
|
$encoded[] = implode(';', $value);
|
||||||
} elseif ($type === 'date') {
|
} elseif ($type === 'date') {
|
||||||
$encoded[] = ($value !== null) ? $value->format('Y-m-d') : '';
|
$encoded[] = ($value !== null) ? $value->format('Y-m-d') : '';
|
||||||
} else {
|
} else {
|
||||||
@@ -97,7 +97,7 @@ class FilterSettingsEncoder
|
|||||||
list($name, $type) = $property;
|
list($name, $type) = $property;
|
||||||
$value = $values[$index];
|
$value = $values[$index];
|
||||||
if ($type === 'array') {
|
if ($type === 'array') {
|
||||||
$value = GeneralUtility::trimExplode(',', $value, true);
|
$value = GeneralUtility::trimExplode(';', $value, true);
|
||||||
}
|
}
|
||||||
$decoded[$name] = $value;
|
$decoded[$name] = $value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user