diff options
author | rxu <rxu@mail.ru> | 2014-11-25 22:16:30 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2014-11-27 01:18:49 +0700 |
commit | a8c62e707af0971a62b7601f4ac6ea46f57b16c2 (patch) | |
tree | 48ccc14a1f33f722b2f3524ca3a4187e964de09c /phpBB/includes/message_parser.php | |
parent | ee90d227c2b041df85fbbdc9cd1f99b23a858687 (diff) | |
download | forums-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/includes/message_parser.php')
-rw-r--r-- | phpBB/includes/message_parser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index 12ef94c07a..07fe969ce2 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -313,7 +313,7 @@ class bbcode_firstpass extends bbcode $in = str_replace(' ', '%20', $in); // Checking urls - if (!preg_match('#^' . get_preg_expression('url') . '$#i', $in) && !preg_match('#^' . get_preg_expression('www_url') . '$#iu', $in)) + if (!preg_match('#^' . get_preg_expression('url') . '$#iu', $in) && !preg_match('#^' . get_preg_expression('www_url') . '$#iu', $in)) { return '[img]' . $in . '[/img]'; } |