• problem with HTTPS

    By Brent Goedert 10 years ago

    First off… Nicely done sir. Very simple to implement, after all of your hard work.

    We just ran into a problem when we moved it to our production environment. The “useHttps” property is set up as a Boolean, but the “recaptchaMain” scriptblock is running it's comparison against a string (“true”, instead of just true).

    Once I took the quote marks out of the code, it worked fine, but then I decided it would be easier to control it with configuration documents, if I set the property type to a “string”, and put the quote marks back into the code.

    Either way, it works.