Open roshanbudhathoki opened 8 years ago
RedirectCallBack class validates the redirect parameter url before actually redirecting to it. But current routeExists method in RedirectCallBack class does can not allow dynamic url to pass its exists test.
private function routeExists($route) { try { $this->router->assemble(array(), array('name' => $route)); } catch (Exception\RuntimeException $e) { return false; } return true; }
RedirectCallBack class validates the redirect parameter url before actually redirecting to it. But current routeExists method in RedirectCallBack class does can not allow dynamic url to pass its exists test.