aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/profilefields
diff options
context:
space:
mode:
authorrxu <rxu@mail.ru>2014-11-25 22:16:30 +0700
committerrxu <rxu@mail.ru>2014-11-27 01:18:49 +0700
commita8c62e707af0971a62b7601f4ac6ea46f57b16c2 (patch)
tree48ccc14a1f33f722b2f3524ca3a4187e964de09c /phpBB/phpbb/profilefields
parentee90d227c2b041df85fbbdc9cd1f99b23a858687 (diff)
downloadforums-a8c62e707af0971a62b7601f4ac6ea46f57b16c2.tar
forums-a8c62e707af0971a62b7601f4ac6ea46f57b16c2.tar.gz
forums-a8c62e707af0971a62b7601f4ac6ea46f57b16c2.tar.bz2
forums-a8c62e707af0971a62b7601f4ac6ea46f57b16c2.tar.xz
forums-a8c62e707af0971a62b7601f4ac6ea46f57b16c2.zip
[ticket/12926] Support for IDN (IRI)
Add international domain name support for URLs. PHPBB3-12926
Diffstat (limited to 'phpBB/phpbb/profilefields')
-rw-r--r--phpBB/phpbb/profilefields/type/type_url.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/profilefields/type/type_url.php b/phpBB/phpbb/profilefields/type/type_url.php
index bc8ac869d0..fe0bffd582 100644
--- a/phpBB/phpbb/profilefields/type/type_url.php
+++ b/phpBB/phpbb/profilefields/type/type_url.php
@@ -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']));
}