I have this strange behaviour in a local development environment, which uses the URL
http://localhost:8000 as a basis.
The application and its routes behaves just fine, except for the reroute() method.
Here is the code of the offending line :
```
$f3->reroute('@startup(@promoid=5)');
````
The incriminated line appears in a beforeRoute() handler:
namespace Controller;
class Startup
{
public function beforeRoute(\Base $f3, $params)
{
$current_promo = $f3->get('COOKIE.current_promo');
// this returns correctly : /startups/5
// die($f3->alias('startup', 'promoid='.$current_promo));
$f3->reroute('@startup(@promoid='.$current_promo.')');
}
}
Am I doing something wrong ?