]> git.pld-linux.org Git - packages/dokuwiki.git/blob - fixprivilegeescalationbug.diff
Up to 20230404a
[packages/dokuwiki.git] / fixprivilegeescalationbug.diff
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 --- dokuwiki-rc2010-10-07/inc/actions.php~      2010-10-07 21:38:37.000000000 +0300
8 +++ dokuwiki-rc2010-10-07/inc/actions.php       2010-10-07 21:40:42.379139693 +0300
9 @@ -149,6 +149,7 @@
10      global $conf;
11      global $license;
12  
13 +    $ACT = act_permcheck($ACT);
14      //call template FIXME: all needed vars available?
15      $headers[] = 'Content-Type: text/html; charset=utf-8';
16      trigger_event('ACTION_HEADERS_SEND',$headers,'act_sendheaders');
This page took 0.337839 seconds and 3 git commands to generate.