From: Brion Vibber Date: Tue, 2 Nov 2004 20:45:24 +0000 (+0000) Subject: Remove insecure mode (causes infinite loops due to protection against Internet Explor... X-Git-Tag: 1.5.0alpha1~1406 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=ad0188eb6b5181f2ed6ccb9cc324f8d7caffbd07;p=lhc%2Fweb%2Fwiklou.git Remove insecure mode (causes infinite loops due to protection against Internet Explorer hole) --- diff --git a/includes/Title.php b/includes/Title.php index ef00872cea..cf268a2e77 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -622,12 +622,7 @@ class Title { if ( $query == '-' ) { $query = ''; } - if ( $wgScript != '' ) { - $url = "{$wgScript}?title={$dbkey}&{$query}"; - } else { - # Top level wiki - $url = "/{$dbkey}?{$query}"; - } + $url = "{$wgScript}?title={$dbkey}&{$query}"; } return $url; }