getgrav / grav-plugin-form

Grav Form Plugin
http://getgrav.org
MIT License
53 stars 79 forks source link

Math Captcha. x Multiplication operator works incorrectly. #587

Closed Sogl closed 1 year ago

Sogl commented 1 year ago

On every multiplication I can't pass math captcha.

for example:

image

Result:

image

As a temporary solution, I disabled multiplication, addition and subtraction work well.

beamaria commented 1 year ago

Same problem here: validating by multiplication fails!

rhukster commented 1 year ago

It's a bug, but a super easy stupid one on my part, can you spot what's wrong?

https://github.com/getgrav/grav-plugin-form/blob/develop/classes/BasicCaptcha.php#L43

beamaria commented 1 year ago

Ah, ah, ah!! Lucky you that Santa has already left the gifts. otherwise... Are you going to correct it in the next plugin version??

rhukster commented 1 year ago

Fixed for next release