summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
authorHelmut Tischer <htischer@weihenstephan.org>2009-02-02 00:08:31 +0100
committerHelmut Tischer <htischer@weihenstephan.org>2009-02-02 00:08:31 +0100
commit397a8c4e13a8d8ee0b4bc71ad1c02bf5f7e9f050 (patch)
tree5786e44bb7fe57595a278dee22f61b671e804fa9 /inc/pageutils.php
parent23024b973b2d1ca3e0c16e739e51c8211ee824eb (diff)
downloadrpg-397a8c4e13a8d8ee0b4bc71ad1c02bf5f7e9f050.tar.gz
rpg-397a8c4e13a8d8ee0b4bc71ad1c02bf5f7e9f050.tar.bz2
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
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r--inc/pageutils.php2
1 files changed, 1 insertions, 1 deletions
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);