Fix captcha image

captchafix2
Floens 11 years ago
parent 164e125bd1
commit 47e90037f4
  1. 2
      Clover/app/src/main/java/org/floens/chan/chan/ChanUrls.java
  2. 2
      docs/gcaptcha.txt

@ -43,7 +43,7 @@ public class ChanUrls {
}
public static String getCaptchaImageUrl(String challenge) {
return scheme + "://www.google.com/recaptcha/api2/payload?c=" + challenge;
return scheme + "://www.google.com/recaptcha/api2/payload?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc&c=" + challenge;
}
public static String getCaptchaFallback() {

@ -10,7 +10,7 @@ https://www.google.com/recaptcha/api/challenge?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTL
contains the key 'challenge'
Now load the image
https://www.google.com/recaptcha/api2/payload?c=CHALLENGE
https://www.google.com/recaptcha/api2/payload?k=6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc&c=CHALLENGE
after the user has solved the image, do a POST to

Loading…
Cancel
Save