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 --- 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
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');