mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
[ticket/12926] Support for IDN (IRI)
Add international domain name support for URLs. PHPBB3-12926
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user