Releases: samsonasik/RedirectHandlerModule
Releases · samsonasik/RedirectHandlerModule
1.3.3
revert check url
1.3.2
remove unused check
1.3.1
bug fixes: same route name with different Query parameter should be redirected, with use case:
- current url: /bar
- target redirect url: /bar?success=1
expected: should be redirected /bar?success=1. It previously redirected to default url config. For example on following redirect:
<?php
namespace Application\Controller;
use Zend\Mvc\Controller\AbstractActionController;
class BarController extends AbstractActionController
{
public function indexAction()
{
$success = $this->params()->fromQuery('success', 0);
if ($success == 0) {
return $this->redirect()->toUrl('/bar?success=1');
}
return ['success' => $success];
}
}1.3.0
added exclude_hosts option
1.2.5
Fixes wrong Current Host definition
1.2.4
Fixes handler when target URI is an absolute URI
1.2.3
doc fix to allow to be used when using zend-evm v3
1.2.2
- refactor RedirectFactory
1.2.1
installable via zend-component-installer
1.2.0
- add options to exclude urls to be always allowed to be redirected.