aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 9d06ac3e2c..598f500bc4 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -772,7 +772,12 @@ if ($submit || $preview || $refresh)
if ($config['enable_post_confirm'] && !$user->data['is_registered'] && in_array($mode, array('quote', 'post', 'reply')))
{
- $vc_response = $captcha->validate();
+ $captcha_data = array(
+ 'message' => utf8_normalize_nfc(request_var('message', '', true)),
+ 'subject' => utf8_normalize_nfc(request_var('subject', '', true)),
+ 'username' => utf8_normalize_nfc(request_var('username', '', true)),
+ );
+ $vc_response = $captcha->validate($captcha_data);
if ($vc_response)
{
$error[] = $vc_response;