]>
Commit | Line | Data |
---|---|---|
a3e2b241 ER |
1 | #! /bin/sh /usr/share/dpatch/dpatch-run |
2 | ## fixprivilegeescalationbug.dpatch by Matti Pöllä <mpo@iki.fi> | |
3 | ## | |
4 | ## DP: Hotfix for privilege escalation bug. | |
5 | ||
6 | @DPATCH@ | |
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 | |
11 | @@ -141,6 +141,7 @@ | |
12 | act_redirect($ID,$preact); | |
13 | } | |
14 | ||
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'); |