Skip to content
Snippets Groups Projects
Commit 397a8c4e authored by Helmut Tischer's avatar Helmut Tischer
Browse files

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
parent 23024b97
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment