diff --git a/include/class.format.php b/include/class.format.php index 6058142d8c0adb2b51e996943f2ac1562d60b647..c1bc3b07d8cd707eac870db645b1cf6976c6831d 100644 --- a/include/class.format.php +++ b/include/class.format.php @@ -426,7 +426,7 @@ class Format { // Scan for things that look like URLs return preg_replace_callback( '`(?<!>)(((f|ht)tp(s?)://|(?<!//)www\.)([-+~%/.\w]+)(?:[-?#+=&;%@.\w]*)?)' - .'|(\b[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,4})`', + .'|(\b[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,63})`', function ($match) { if ($match[1]) { while (in_array(substr($match[1], -1),