Hello,
urldecode in slack-php/slack-app-framework/src/Contexts/Payload.php:44
In same cases urldecode + json_decode not work and cause error: Control character error, possibly incorrectly encoded
Example to reproduce simplest way:
$data = [
"text" => "<%12>"
];
$jsonString = json_encode($data);
$payload = json_decode(urldecode($jsonString), true, 512, JSON_THROW_ON_ERROR);