From 594844d1db20eb536d8ccd697aa4ba08fc1f25dc Mon Sep 17 00:00:00 2001 From: Floens Date: Mon, 8 Dec 2014 22:44:19 +0100 Subject: [PATCH] Renaming recaptcha_response_field to g-recaptcha-response fixes captchas (temp fix) --- .../chan/core/manager/ReplyManager.java | 2 +- docs/gcaptcha.txt | 20 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 docs/gcaptcha.txt diff --git a/Clover/app/src/main/java/org/floens/chan/core/manager/ReplyManager.java b/Clover/app/src/main/java/org/floens/chan/core/manager/ReplyManager.java index e3ce9ca3..c6143432 100644 --- a/Clover/app/src/main/java/org/floens/chan/core/manager/ReplyManager.java +++ b/Clover/app/src/main/java/org/floens/chan/core/manager/ReplyManager.java @@ -364,7 +364,7 @@ public class ReplyManager { } entity.addTextBody("recaptcha_challenge_field", reply.captchaChallenge); - entity.addTextBody("recaptcha_response_field", reply.captchaResponse, TEXT_UTF_8); + entity.addTextBody("g-recaptcha-response", reply.captchaResponse, TEXT_UTF_8); entity.addTextBody("mode", "regist"); entity.addTextBody("pwd", reply.password); diff --git a/docs/gcaptcha.txt b/docs/gcaptcha.txt new file mode 100644 index 00000000..bbd9cca0 --- /dev/null +++ b/docs/gcaptcha.txt @@ -0,0 +1,20 @@ + + +4chan key: +6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc + +https://www.google.com/recaptcha/api/fallback?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc + + +Clover supports the fallback method (for now) + +Stuff +https://www.google.com/recaptcha/api/fallback?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc +into an iframe + + +add an input field named +g-recaptcha-response + + +