-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Applied Security patch from Magento: PATCH_SUPEE-5344_CE #9
Conversation
@@ -69,13 +73,14 @@ public function actionPreDispatchAdmin($observer) | |||
$session->login($username, $password, $request); | |||
$request->setPost('login', null); | |||
} | |||
if (!$request->getParam('forwarded')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the record I'd like to point out that adding this getInternallyForwarded/setInternallyForwarded is silly as the request object supports parameters that are set via code only. When you call setParam you are seting 'userland' parameters. If you want to get a parameter and be sure it was set via code and not the inbound requests you use getUserParam and NOT getParam like the original code had.
Applied Security patch from Magento: PATCH_SUPEE-5344_CE
No description provided.