From 93748c084e763b90b262dae8e3abb5ea1be9eddb Mon Sep 17 00:00:00 2001 From: Harvie Date: Sat, 11 Dec 2010 19:04:57 +0100 Subject: [PATCH] Disabled Base36 fascism redirect for download (probably some ugly hack out there) --- wwwroot/nodes.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wwwroot/nodes.php b/wwwroot/nodes.php index 9da9953..3687d08 100644 --- a/wwwroot/nodes.php +++ b/wwwroot/nodes.php @@ -53,6 +53,7 @@ if($PATH_INFO != '') { if(isset($PATH_CHUNKS[3]) && $PATH_CHUNKS[3] != '') $_GET['template_id'] = $PATH_CHUNKS[3]; //Base36 fascism redirect + if($_GET['template_id'] == 'download') break; //Fix ugly download hack... if(!count($_POST)) { header('Location: /k/'.base_convert($_GET['node_id'], 10, 36). (isset($_GET['template_id'])?'/'.base_convert($_GET['template_id'], 10, 36):'') -- 2.30.2