public function conversion($redirect = true)
{
if (!$this->request->is('post')) {
if ($this->config('queryStringToData')) {
$this->request->data = $this->request->query;
}
return null;
}
if (!$redirect) {
return null;
}
list($url) = explode('?', $this->request->here(false));
$params = $this->_filterParams();
if ($params) {
$url .= '?' . http_build_query($params);
}
return $this->_registry->getController()->redirect($url);
}