本文介绍了当一个词无效时,recaptcha 仍然提交表单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗯,所以今晚我有点惊喜.我花了 20 分钟试图弄清楚为什么我能够提交表单,因为我知道我在 recaptcha 字段中输入的内容无效.您真的不需要输入它显示的确切单词吗?如果它向我显示两个单词并且我拼错了其中一个单词,我仍然通过验证吗?如果hello world"和我输入hell man"也一样,它仍然有效.

Um so I was in for a little bit of a surprise tonight. I spent a good 20 mins trying to figure out why I was able to submit a form knowing that what I entered into the recaptcha field was invalid. Is it true that you don't need to input the exact words it displays? If it shows me two words and I misspelled one of the words, I still pass validation? Same goes if "hello world" and I input "hell man" it still works.

推荐答案

使用 recaptcha,您可以只对其中一个单词进行测试,而另一个则用于帮助计算机扫描印刷材料.所以你只需要获得一个通过的权利(你需要哪一个是随机的).:D

With recaptcha, you are only tested on one of the words, while the other is used to help computers in scanning printed material. So you only need to get one right to pass (which one you need is random). :D

这篇关于当一个词无效时,recaptcha 仍然提交表单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-02 01:45