Update Kirby to 3.7.4
This commit is contained in:
4
kirby/src/Http/Params.php
Executable file → Normal file
4
kirby/src/Http/Params.php
Executable file → Normal file
@@ -73,7 +73,7 @@ class Params extends Query
|
||||
$paramValue = $paramParts[1] ?? null;
|
||||
|
||||
if ($paramKey !== null) {
|
||||
$params[$paramKey] = $paramValue;
|
||||
$params[rawurldecode($paramKey)] = $paramValue ? rawurldecode($paramValue) : null;
|
||||
}
|
||||
|
||||
unset($path[$index]);
|
||||
@@ -140,7 +140,7 @@ class Params extends Query
|
||||
|
||||
foreach ($this as $key => $value) {
|
||||
if ($value !== null && $value !== '') {
|
||||
$params[] = $key . $separator . $value;
|
||||
$params[] = rawurlencode($key) . $separator . rawurlencode($value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user