Simple code
$app->get('/hello/{name}', function (Request $request, Response $response, $args) {
$name = $args['name'];
$response->getBody()->write("Hello, $name");
return $response; });
When I am passing name like (client--side-?validation.pdf) as argument
Like:
http://localhost:8085/hello/client--side-?validation.pdf
I am getting output like:
Hello, client--side-
Some characters like : ?, @, +, # etc having issue.
Slim will not return full name(client--side-?validation.pdf) as we passed.
Question: What will be the solution of this?