From 859a02e9742fc879d2b439badb195feb9c186c7d Mon Sep 17 00:00:00 2001 From: carstenklapp Date: Sat, 29 Dec 2001 18:22:26 +0000 Subject: [PATCH] added ssh to $AllowedProtocols git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@926 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 407f5dda6..3c6abb222 100644 --- a/index.php +++ b/index.php @@ -39,7 +39,7 @@ define ('PHPWIKI_VERSION', '1.3.2-jeffs-hacks'); require "lib/prepend.php"; -rcs_id('$Id: index.php,v 1.44 2001-12-27 01:34:38 carstenklapp Exp $'); +rcs_id('$Id: index.php,v 1.45 2001-12-29 18:22:26 carstenklapp Exp $'); ///////////////////////////////////////////////////////////////////// // @@ -359,7 +359,7 @@ $GenericPages = array("ReleaseNotes", "SteveWainstead", "TestPage"); // allowed protocols for links - be careful not to allow "javascript:" // URL of these types will be automatically linked. // within a named link [name|uri] one more protocol is defined: phpwiki -$AllowedProtocols = "http|https|mailto|ftp|news|nntp|gopher"; +$AllowedProtocols = "http|https|mailto|ftp|news|nntp|ssh|gopher"; // URLs ending with the following extension should be inlined as images $InlineImages = "png|jpg|gif|tiff|tif"; -- 2.45.2