mirror of
https://git.d3data.de/3rdParty/captcha-module.git
synced 2025-01-30 14:58:38 +01:00
force getting escaped user inputs
This commit is contained in:
parent
032c2d5e4c
commit
178ad0b6da
@ -43,13 +43,13 @@ class oeUserComponent extends oeUserComponent_parent
|
||||
/* END check for Amazon Pay - no Captcha /
|
||||
|
||||
/* START check for PayPal Checkout - no Captcha */
|
||||
if(\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('fnc') == 'approveOrder')
|
||||
if(\OxidEsales\Eshop\Core\Registry::getRequest()->getRequestEscapedParameter('fnc') == 'approveOrder')
|
||||
{
|
||||
return parent::createUser();
|
||||
}
|
||||
/* START check for PayPal Checkout - no Captcha */
|
||||
|
||||
if (\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter('cl') !== 'user' && !$this->getCaptcha()->passCaptcha()) {
|
||||
if (\OxidEsales\Eshop\Core\Registry::getRequest()->getRequestEscapedParameter('cl') !== 'user' && !$this->getCaptcha()->passCaptcha()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user