-
During testing, I found that I was getting a "Content-Type: text/html; charset=UTF-8" header being sent when I was creating a 204 No Content page (in Slim 3 RC 2 within \Slim\App::finalize and \Slim\A…
-
Looking at the `Container` code, I see the following
``` php
public function __construct(array $values = [])
{
parent::__construct($values);
$userSettings = isset($values['se…
-
I noticed that when I make a PUT request to my Slim application it does not parse the body of the request unless I explicitly specified a Request Content-Type Header of "application/x-www-form-urlenco…
-
https://github.com/slimphp/Slim/blob/develop/Slim/App.php#L314
``` php
if ($hasBody) {
$body = $response->getBody(); //Returns the PSR Steam Interface
if (…
-
Hi @nikic, do you have any idea when you will tag the optional route param changes you made?
-
`$e->getMessage()` outputs ``
`$e->getFile()` outputs `/vendor/slim/slim/Slim/Slim.php`
`$e->getLine` outputs `1057`
path is
`/api/create_single`
route is:
``` php
$app->map('/api/:method',fun…
-
I think it is better to add warning about object injection to documentation.
If a closure is injected, attacker can execute arbitrary code. It is very dangerous.
See https://www.owasp.org/index.php/P…
-
Consider this:
```
$app->get('/fileupload', function ($request, $response) {
$html = getParsedBody());
exit;
});
```
We know that the file upload won't be picked up until #1263 is merged.
H…
-
As I build an app with Slim 3, I have been musing over how the response handling works, and I'd like to put forward an idea (or get my understanding sorted out).
Currently, we have the ability to let…
-
Issue 697 for slim v2 gave an option for case insensitive routes.
could we have this for v3?
this could be via the settings array with
$request->getUri()->withPath(strtolower($request->getUri()->getP…