• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscapheguic翻訳omegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

Commit MetaInfo

Revisionc2bb493ea28ed514f3f038f810264e5ec4da4e25 (tree)
Time2014-11-30 20:27:59
Authorhenoheno <henoheno>
Commiterumorigu

Log Message

BugTrack2/320: Failure with page "0" (reverted before ../init.php r1.81)

Change Summary

Incremental Difference

--- a/lib/init.php
+++ b/lib/init.php
@@ -2,7 +2,7 @@
22 // PukiWiki - Yet another WikiWikiWeb clone.
33 // $Id: init.php,v 1.57 2011/01/25 15:01:01 henoheno Exp $
44 // Copyright (C)
5-// 2002-2006 PukiWiki Developers Team
5+// 2002-2007, 2009 PukiWiki Developers Team
66 // 2001-2002 Originally written by yu-ji
77 // License: GPL v2 or (at your option) any later version
88 //
@@ -268,7 +268,7 @@ if (isset($_GET['encode_hint']) && $_GET['encode_hint'] != '')
268268 // cmdもpluginも指定されていない場合は、QUERY_STRINGを
269269 // ページ名かInterWikiNameであるとみなす
270270 $arg = '';
271-if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING']) {
271+if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '') {
272272 $arg = & $_SERVER['QUERY_STRING'];
273273 } else if (isset($_SERVER['argv']) && ! empty($_SERVER['argv'])) {
274274 $arg = & $_SERVER['argv'][0];