Commit b86d106e authored by Dries's avatar Dries

- Patch #141131 by mfer: fixed UTF-8 problem.

parent be3dea20
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment