SumNone.com

Totally Nothing...Do-Dads and Fix-Its For the Web.

NAVIGATION - SEARCH

Recaptcha Control Broken in Blogengine.net

Recently I noticed that my recaptcha control images had disappeared off my sites which equated to a lot errors and broken controls, even though an initial first glance would lead you to believe there is no issue.  However, if you click a submit button that requires a Recaptcha control, all hell breaks lose.  Long story short, somebody changed the javascript url.  So when the browser calls for the url, it's simply not there.  I'm not sure exactly when, and I'm not sure how to get in the loop on these things, but here's the fix:

  1. Go to the \App_Code\Extensions\Recaptcha directory
  2. Open RecaptchaControl.cs and go to line 558.
  3. Replace the URL:

http://api.recaptcha.net/js/recaptcha_ajax.js

with:

http://www.google.com/recaptcha/api/js/recaptcha_ajax.js