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

Snaptcha 2.2.5 is in conflict with / blocks GDPR Cookie Consent 1.4.4 Plugin from storing consents #12

Closed
axelhebenstreit opened this issue Nov 7, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@axelhebenstreit
Copy link

axelhebenstreit commented Nov 7, 2020

Craft CMS 3.5.15.1
Snaptcha 2.2.5
GDPR Cookie Consent 1.4.4

Install GDPR Cookie Consent 1.4.4
check if it works properly and is storing consents
Install Snaptcha 2.2.5
GDPR Cookie Consent 1.4.4 stops storing consents because Snaptcha 2.2.5 is blocking GDPR Cookie Consent 1.4.4

error: yii\web\HttpException:403 @ https://damin.tld/index.php?p=actions/

yii\web\ForbiddenHttpException: Sorry, you have not passed the security test. Please make sure that you have Javascript enabled and that you update the page you are trying to submit. in /srv/users/axel/apps/craft/vendor/putyourlightson/craft-snaptcha/src/Snaptcha.php:123 Stack trace: #0 /srv/users/axel/apps/craft/vendor/putyourlightson/craft-snaptcha/src/Snaptcha.php(73): putyourlightson\snaptcha\Snaptcha->validateField(Object(yii\base\ActionEvent)) #1 [internal function]: putyourlightson\snaptcha\Snaptcha->putyourlightson\snaptcha\{closure}(Object(yii\base\ActionEvent)) #2 /srv/users/axel/apps/craft/vendor/yiisoft/yii2/base/Event.php(312): call_user_func(Object(Closure), Object(yii\base\ActionEvent)) #3 /srv/users/axel/apps/craft/vendor/yiisoft/yii2/base/Component.php(636): yii\base\Event::trigger('craft\\web\\Contr...', 'beforeAction', Object(yii\base\ActionEvent)) #4 /srv/users/axel/apps/craft/vendor/yiisoft/yii2/base/Controller.php(299): yii\base\Component->trigger('beforeAction', Object(yii\base\ActionEvent)) #5 /srv/users/axel/apps/craft/vendor/yiisoft/yii2/web/Controller.php(200): yii\base\Controller->beforeAction(Object(yii\base\InlineAction)) #6 /srv/users/axel/apps/craft/vendor/craftcms/cms/src/web/Controller.php(138): yii\web\Controller->beforeAction(Object(yii\base\InlineAction)) #7 /srv/users/axel/apps/craft/vendor/yiisoft/yii2/base/Controller.php(178): craft\web\Controller->beforeAction(Object(yii\base\InlineAction)) #8 /srv/users/axel/apps/craft/vendor/craftcms/cms/src/web/Controller.php(190): yii\base\Controller->runAction('update', Array) #9 /srv/users/axel/apps/craft/vendor/yiisoft/yii2/base/Module.php(528): craft\web\Controller->runAction('update', Array) #10 /srv/users/axel/apps/craft/vendor/craftcms/cms/src/web/Application.php(274): yii\base\Module->runAction('cookie-consent/...', Array) #11 /srv/users/axel/apps/craft/vendor/craftcms/cms/src/web/Application.php(577): craft\web\Application->runAction('cookie-consent/...', Array) #12 /srv/users/axel/apps/craft/vendor/craftcms/cms/src/web/Application.php(253): craft\web\Application->_processActionRequest(Object(craft\web\Request)) #13 /srv/users/axel/apps/craft/vendor/yiisoft/yii2/base/Application.php(386): craft\web\Application->handleRequest(Object(craft\web\Request)) #14 /srv/users/axel/apps/craft/public/index.php(22): yii\base\Application->run() #15 {main}

@axelhebenstreit axelhebenstreit added the bug Something isn't working label Nov 7, 2020
@bencroker
Copy link
Collaborator

Added a validation exception for this plugin in fa30130 for the next release.

@bencroker
Copy link
Collaborator

Released in 2.3.0.

@nordentwickler
Copy link

@bencroker
Copy link
Collaborator

@nordentwickler Added in 05523c9 and released in 2.3.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants