You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this line, if for some reason the Post if empty, or it doesn't have the specific Key, it could throw different errors depending on if the whole Post is missing or just part of the key.
Like these:
Undefined array key $formId
Trying to access array offset on null
Should this be taken care of the function by adding ?? '' ?
If the String is empty, the Captcha Observer will deny access anyway.
magento-lts/app/code/core/Mage/Captcha/Model/Observer.php
Lines 274 to 278 in 31ff920
In this line, if for some reason the Post if empty, or it doesn't have the specific Key, it could throw different errors depending on if the whole Post is missing or just part of the key.
Like these:
Should this be taken care of the function by adding
?? ''
?If the String is empty, the Captcha Observer will deny access anyway.
@sreichel what is your opinion about this?
The text was updated successfully, but these errors were encountered: