1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

Merge pull request #3189 from rxu/ticket/12926

[ticket/12926] Support for IDN (IRI)
This commit is contained in:
Joas Schilling
2015-01-10 00:09:57 +01:00
7 changed files with 294 additions and 13 deletions

View File

@@ -64,7 +64,7 @@ class type_url extends type_string
return false;
}
if (!preg_match('#^' . get_preg_expression('url') . '$#i', $field_value))
if (!preg_match('#^' . get_preg_expression('url') . '$#iu', $field_value))
{
return $this->user->lang('FIELD_INVALID_URL', $this->get_field_name($field_data['lang_name']));
}