Fixed link parsing issue
authorMarcel Werk <burntime@woltlab.com>
Mon, 10 Mar 2014 19:57:35 +0000 (20:57 +0100)
committerMarcel Werk <burntime@woltlab.com>
Mon, 10 Mar 2014 19:57:35 +0000 (20:57 +0100)
wcfsetup/install/files/lib/system/bbcode/PreParser.class.php

index 278d0a33ec3341c85c89c91b97db88b99ff6520d..311b54e0e7ef659405a3558e217e5aef5f2c1455 100644 (file)
@@ -120,7 +120,7 @@ class PreParser extends SingletonFactory {
                static $callback = null;
                if ($urlPattern === null) {
                        $urlPattern = new Regex('
-                       (?<!\B|"|\'|=|/|\]|,|\?)
+                       (?<!\B|"|\'|=|/|\]|,|\?|\.)
                        (?:                                             # hostname
                                (?:ftp|https?)://'.static::$illegalChars.'(?:\.'.static::$illegalChars.')*
                                |