From 397a8c4e13a8d8ee0b4bc71ad1c02bf5f7e9f050 Mon Sep 17 00:00:00 2001 From: Helmut Tischer Date: Mon, 2 Feb 2009 00:08:31 +0100 Subject: getID_redirect_start Ignore-this: eb5adc80ab6a8789afd6cdeb4636f191 On getID() at send_redirect() 'Location :' is prefixed to the url. But the prefix is added inside the function a second time, making the request syntax illegal and not working. To test, in Browser try "doku.php?id darcs-hash:20090201230831-aad98-d069056088941479d2f2e1c635d35dfb67deedeb.gz --- inc/pageutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/pageutils.php') diff --git a/inc/pageutils.php b/inc/pageutils.php index d3d9478ca..105cfa18e 100644 --- a/inc/pageutils.php +++ b/inc/pageutils.php @@ -68,7 +68,7 @@ function getID($param='id',$clean=true){ // fall back to default $id = $id.$conf['start']; } - send_redirect("Location: ".wl($id,'',true)); + send_redirect(wl($id,'',true)); } if($clean) $id = cleanID($id); -- cgit v1.2.3