Closed helvete003 closed 1 year ago
You are right that the check for emptiness of the solution currently doesn't have any effect beside logging.
I'm not entirely sure how your change effects the response code tho. Without your change we are also returning $spam
as true for an empty solution, just in a different place.
Ah I see, the frcaptcha_verify_captcha_solution
just assumes 401 status codes to be a misconfiguration of the plugin.
Thanks for the PR and sorry for the delay 👍
Hello,
i know that this is not the most inclusive thing to do but i just had another customer who was confused why FC wouldn't just flag emails as spam when you have javascript deactivated and to be fair i was confused about that as well.
So the issue is, that the FC Server responses with a 401 Statuscode when you send an empty solution to it but in the CF7 Module everything that is not a 200 Statuscode will get a "success".
It is also a bit confusing why there even was a verification of the solution when you already have checked that the solution is empty.
So i pretty much just return the $spam as true.