From b86d106e0e8e4417cefc0f0318cb2ba108073194 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 20 May 2007 07:30:03 +0000 Subject: - Patch #141131 by mfer: fixed UTF-8 problem. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 5adcdd498..494da60bc 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1687,7 +1687,7 @@ function comment_form_add_preview($form, $edit, &$form_state) { function comment_form_validate($form_values, $form, &$form_state) { foreach (array('name', 'homepage', 'mail') as $field) { //set cookie for 365 days - setrawcookie('comment_info_' . $field, rawurlencode($form_values[$field]), time() + 31536000); + setcookie('comment_info_'. $field, $form_values[$field], time() + 31536000); } comment_validate($form_values); } -- cgit v1.2.3