altcha-org / altcha-lib

A JavaScript library for creating and verifying ALTCHA challenges.
https://altcha.org
MIT License
18 stars 5 forks source link

Some disabled rules aren't ignored #7

Closed MrTimber closed 1 month ago

MrTimber commented 1 month ago

Hi,

I have a form without textarea, and just some text :

image

I configured Altcha to disable the following rules: text.CAPITALIZATION, text.CURRENCY, email.FREE_PROVIDER, ipAddress.HOSTING, text.UNKNOWN_LANGUAGE, text.UNEXPECTED_LANGUAGE, text.SHORT_TEXT, text.NUMBERS_ONLY

image

The list of rules to ignore is sent by the Altcha widget when you check the box:

image

But here is the response of the Alcha server: image

Rules text.CAPITALIZATION, text.SHORT_TEXT, and email.FREE_PROVIDER are indeed ignored, but text.UNKNOWN_LANGUAGE rule isn't ignored (and an other test shows that text.UNEXPECTED_LANGUAGE isn't ignored either).

Is it because the expectedLangages option is automatically configured according to the browser language?

MrTimber commented 1 month ago

Even setting the expectedLangages ​​option to an empty array, the problem is still the same

ovx commented 1 month ago

Hi, thanks for reporting. It was bug a in the Spam Filter, fixed in both regions.