maximebf / atomik

Micro framework for PHP 5.3+ [UNMAINTAINED]
MIT License
46 stars 18 forks source link

& with Atomik::redirect() #50

Closed freezed closed 6 years ago

freezed commented 8 years ago

Hi, to keep the & in the URL you'll need to use _htmlspecialcharsdecode() and desactivate Atomik::url() like this:

$this->redirect(htmlspecialchars_decode($url), false);