diff options
author | Henry Sudhof <kellanved@phpbb.com> | 2009-10-27 12:36:55 +0000 |
---|---|---|
committer | Henry Sudhof <kellanved@phpbb.com> | 2009-10-27 12:36:55 +0000 |
commit | d53f9a22d61c3b63ff9b6fc8a653a63f18630356 (patch) | |
tree | e37aaa90edef2d7657e43faaf3d7ee7502653f63 /phpBB/includes/captcha | |
parent | 44719bd041c99a824723bba2854de66d8ddeb4a9 (diff) | |
download | forums-d53f9a22d61c3b63ff9b6fc8a653a63f18630356.tar forums-d53f9a22d61c3b63ff9b6fc8a653a63f18630356.tar.gz forums-d53f9a22d61c3b63ff9b6fc8a653a63f18630356.tar.bz2 forums-d53f9a22d61c3b63ff9b6fc8a653a63f18630356.tar.xz forums-d53f9a22d61c3b63ff9b6fc8a653a63f18630356.zip |
adding normalization - shouldn't change anything
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10238 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/captcha')
-rw-r--r-- | phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php index 0b64f07ab3..c078265971 100644 --- a/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php +++ b/phpBB/includes/captcha/plugins/phpbb_captcha_qa_plugin.php @@ -502,7 +502,7 @@ class phpbb_captcha_qa { global $db; - $answer = ($this->question_strict) ? request_var('qa_answer', '', true) : utf8_clean_string(request_var('qa_answer', '', true)); + $answer = ($this->question_strict) ? utf8_normalize_nfc(request_var('qa_answer', '', true)) : utf8_clean_string(utf8_normalize_nfc(request_var('qa_answer', '', true))); $sql = 'SELECT answer_text FROM ' . CAPTCHA_ANSWERS_TABLE . ' @@ -789,7 +789,7 @@ class phpbb_captcha_qa */ function acp_get_question_input() { - $answers = request_var('answers', '', true); + $answers = utf8_normalize_nfc(request_var('answers', '', true)); $question = array( 'question_text' => request_var('question_text', '', true), 'strict' => request_var('strict', false), |