Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect Parameter : dynamic url is not allowed by routeExists Method in RedirectCallBack class #648

Open
roshanbudhathoki opened this issue Aug 16, 2016 · 0 comments

Comments

@roshanbudhathoki
Copy link

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;
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant