From 1681beaab8c0af4504534011ef98401edaa16cec Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 10 Dec 2014 02:53:06 -0800 Subject: [PATCH] On closer examination, the captcha is accepting more or less arbitrary input. Enjoy your free pass while it lasts. --- src/Posting/Captcha.v1.coffee | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Posting/Captcha.v1.coffee b/src/Posting/Captcha.v1.coffee index fa9822543..482cc33f0 100644 --- a/src/Posting/Captcha.v1.coffee +++ b/src/Posting/Captcha.v1.coffee @@ -111,7 +111,9 @@ Captcha.v1 = if Conf['Auto-load captcha'] then @reload() else @destroy() # Duplicate one-word captchas. # Don't duplicate street numbers for now (needs testing). - if response and !/\s|^\d$/.test response + if !response + response = 'al pacino' + else if !/\s|^\d$/.test response response = "#{response} #{response}" {challenge, response}