diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2009-06-29 12:52:45 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2009-06-29 12:52:45 +0000 |
commit | e146efbd165c71b00003f6ae3ea3f4de2da3d64b (patch) | |
tree | 2efd3bf1379d0ff2c89de9f9c0834deb6fc834e9 /phpBB/posting.php | |
parent | a8d678cc4cb18f6561c8bbf53c0f32aa931ffaca (diff) | |
download | forums-e146efbd165c71b00003f6ae3ea3f4de2da3d64b.tar forums-e146efbd165c71b00003f6ae3ea3f4de2da3d64b.tar.gz forums-e146efbd165c71b00003f6ae3ea3f4de2da3d64b.tar.bz2 forums-e146efbd165c71b00003f6ae3ea3f4de2da3d64b.tar.xz forums-e146efbd165c71b00003f6ae3ea3f4de2da3d64b.zip |
Add some data for akismet et al
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9702 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 7 |
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; |