From c817f62fea60b9e0dbdd75b7cf840152e6a46374 Mon Sep 17 00:00:00 2001 From: gnuboard Date: Wed, 3 Apr 2013 19:19:58 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BA=A1=EC=B1=A0=ED=82=A4=EA=B0=80=20?= =?UTF-8?q?=EB=84=98=EC=96=B4=EC=98=A4=EC=A7=80=20=EC=95=8A=EB=8A=94=20?= =?UTF-8?q?=EA=B2=BD=EC=9A=B0=20return=20false;=20=EC=8B=9C=ED=82=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/gcaptcha/gcaptcha.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bbs/gcaptcha/gcaptcha.lib.php b/bbs/gcaptcha/gcaptcha.lib.php index d59b41007..4fdd5da7d 100644 --- a/bbs/gcaptcha/gcaptcha.lib.php +++ b/bbs/gcaptcha/gcaptcha.lib.php @@ -198,6 +198,7 @@ function chk_captcha() $captcha_cnt = (int)$_SESSION['ss_captcha_cnt']; if ($captcha_cnt > 5) return false; + if (!trim($_POST['captcha_key'])) return false; if (!isset($_POST['captcha_key'])) return false; if ($_POST['captcha_key'] != $_SESSION['ss_captcha_key']) { $_SESSION['ss_captcha_cnt'] = $captcha_cnt + 1;