From: Marcel Werk Date: Thu, 29 May 2014 19:41:12 +0000 (+0200) Subject: Fixed max tld length X-Git-Tag: 2.1.0_Alpha_1~784 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f59a2d34b9fe5663d57dc8c5f875e7da93b0912f;p=GitHub%2FWoltLab%2FWCF.git Fixed max tld length --- diff --git a/wcfsetup/install/files/lib/system/bbcode/PreParser.class.php b/wcfsetup/install/files/lib/system/bbcode/PreParser.class.php index d93628c03b..2a52a186aa 100644 --- a/wcfsetup/install/files/lib/system/bbcode/PreParser.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/PreParser.class.php @@ -125,7 +125,7 @@ class PreParser extends SingletonFactory { (?:ftp|https?)://'.static::$illegalChars.'(?:\.'.static::$illegalChars.')* | www\.(?:'.static::$illegalChars.'\.)+ - (?:[a-z]{2,4}(?=\b)) + (?:[a-z]{2,63}(?=\b)) # tld ) (?::\d+)? # port diff --git a/wcfsetup/install/files/lib/system/bbcode/SimpleMessageParser.class.php b/wcfsetup/install/files/lib/system/bbcode/SimpleMessageParser.class.php index 1d07ad21e7..614101a528 100644 --- a/wcfsetup/install/files/lib/system/bbcode/SimpleMessageParser.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/SimpleMessageParser.class.php @@ -111,7 +111,7 @@ class SimpleMessageParser extends SingletonFactory { (?:ftp|https?)://'.static::$illegalChars.'(?:\.'.static::$illegalChars.')* | www\.(?:'.static::$illegalChars.'\.)+ - (?:[a-z]{2,4}(?=\b)) + (?:[a-z]{2,63}(?=\b)) # tld ) (?::\d+)? # port