diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2015-01-10 00:09:57 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2015-01-10 00:09:57 +0100 |
commit | 8ae1b0c52e21d105d1f35b5174081423b7c17bc4 (patch) | |
tree | 65bc8268637ba2c1a6035c3eccb2e8dc9978b0f3 /phpBB/phpbb | |
parent | 58d8ea5b0b0810f2f84cbbf89aebb874010b5378 (diff) | |
parent | d86bdcb2a75a000dd30478216644e8f1d3dae9dd (diff) | |
download | forums-8ae1b0c52e21d105d1f35b5174081423b7c17bc4.tar forums-8ae1b0c52e21d105d1f35b5174081423b7c17bc4.tar.gz forums-8ae1b0c52e21d105d1f35b5174081423b7c17bc4.tar.bz2 forums-8ae1b0c52e21d105d1f35b5174081423b7c17bc4.tar.xz forums-8ae1b0c52e21d105d1f35b5174081423b7c17bc4.zip |
Merge pull request #3189 from rxu/ticket/12926
[ticket/12926] Support for IDN (IRI)
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/profilefields/type/type_url.php | 2 |
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'])); } |