Support for urls in form [http://blippy.com/ some link name]

--- phpwiki/lib/stdlib.php	Mon Jan 15 13:32:57 2001
+++ /data/phpwiki/lib/stdlib.php	Sat Sep 15 00:35:42 2001
@@ -268,6 +268,11 @@
          $URL = trim($matches[3]);
          $linkname = htmlspecialchars(trim($matches[1]));
 	 $linktype = 'named';
+      } elseif (preg_match("/^($AllowedProtocols)(:\/\/[^\s]+)(\s+)?(.+)$/", $match[2], $matches2)) {
+         // named link of the form  "[http://blippy.com/ some link name]"
+         $URL = trim($matches2[1].$matches2[2]);
+         $linkname = htmlspecialchars(trim($matches2[4]));
+	 $linktype = 'named';
       } else {
          // unnamed link of the form "[http://blippy.com/] or [wiki page]"
          $URL = trim($matches[1]);
