OSDN Git Service

Added PKWK_QUERY_STRING_MAX, prohibits too-long-GET-method, like a worm
authorhenoheno <henoheno>
Sun, 2 Jan 2005 07:26:15 +0000 (16:26 +0900)
committerhenoheno <henoheno>
Sun, 2 Jan 2005 07:26:15 +0000 (16:26 +0900)
pukiwiki.ini.php

index 923fde2..a95a01f 100644 (file)
@@ -2,18 +2,24 @@
 /////////////////////////////////////////////////
 // PukiWiki - Yet another WikiWikiWeb clone.
 //
-// $Id: pukiwiki.ini.php,v 1.100 2004/12/30 13:42:13 henoheno Exp $
+// $Id: pukiwiki.ini.php,v 1.101 2005/01/02 07:26:15 henoheno Exp $
 //
 // PukiWiki setting file
 
+// If you end testing this PukiWiki, set PKWK_OPTIMISE 'TRUE'.
+// If you feel in trouble about this PukiWiki, set this 'FALSE'.
+if (! defined('PKWK_OPTIMISE'))
+       define('PKWK_OPTIMISE', FALSE); // FALSE or TRUE
+
 /////////////////////////////////////////////////
-// Init
+// Security settings
 
+// Safe mode prohibits some unsafe functions 
 if (! defined('PKWK_SAFE_MODE'))
-       define('PKWK_SAFE_MODE', FALSE);        // FALSE or TRUE
+       define('PKWK_SAFE_MODE', FALSE); // FALSE or TRUE
 
-if (! defined('PKWK_OPTIMISE'))
-       define('PKWK_OPTIMISE', FALSE); // FALSE or TRUE
+// Max length of GET method (prohibits some worm attack ASAP)
+define('PKWK_QUERY_STRING_MAX', 512);
 
 /////////////////////////////////////////////////
 // ½é´üÀßÄê (ʸ»ú¥¨¥ó¥³¡¼¥É¡¢¸À¸ì)