1

I'm getting null query parameter string even though passing query parameter string like this login?redirect=%2Farticles%2Fadd. I have tried with $this->request->getQuery('redirect'); and $this->request->query('redirect'); but no luck. Does anyone have any idea that where it would be wrong?

1 Answer 1

1

Looks like you are not setup your URL Route properly in your config/routes.php file. When you are interested to pass any route parameter to your controller action you should configure your route proper way. Although your question is not written detailedly.

I hope you will get much more information from this articles.

Passing Parameters to Action

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.