1 #! /bin/sh /usr/share/dpatch/dpatch-run
2 ## fixprivilegeescalationbug.dpatch by Matti Pöllä <mpo@iki.fi>
4 ## DP: Hotfix for privilege escalation bug.
7 Index: dokuwiki-0.0.20090214/inc/actions.php
8 ===================================================================
9 --- dokuwiki-0.0.20090214.orig/inc/actions.php 2009-02-14 13:13:25.000000000 +0100
10 +++ dokuwiki-0.0.20090214/inc/actions.php 2009-02-14 19:19:32.000000000 +0100
12 act_redirect($ID,$preact);
15 + $ACT = act_permcheck($ACT);
16 //call template FIXME: all needed vars available?
17 $headers[] = 'Content-Type: text/html; charset=utf-8';
18 trigger_event('ACTION_HEADERS_SEND',$headers,'act_sendheaders');