aboutsummaryrefslogtreecommitdiffstats
path: root/tests/regex
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 /tests/regex
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 'tests/regex')
-rw-r--r--tests/regex/url_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regex/url_test.php b/tests/regex/url_test.php
index d3487a9c16..e5d7c3256a 100644
--- a/tests/regex/url_test.php
+++ b/tests/regex/url_test.php
@@ -32,6 +32,6 @@ class phpbb_regex_url_test extends phpbb_test_case
*/
public function test_url($url, $expected)
{
- $this->assertEquals($expected, preg_match('#^' . get_preg_expression('url') . '$#i', $url));
+ $this->assertEquals($expected, preg_match('#^' . get_preg_expression('url') . '$#iu', $url));
}
}