#! /bin/sh /usr/share/dpatch/dpatch-run ## fixprivilegeescalationbug.dpatch by Matti Pöllä ## ## DP: Hotfix for privilege escalation bug. @DPATCH@ --- dokuwiki-rc2010-10-07/inc/actions.php~ 2010-10-07 21:38:37.000000000 +0300 +++ dokuwiki-rc2010-10-07/inc/actions.php 2010-10-07 21:40:42.379139693 +0300 @@ -149,6 +149,7 @@ global $conf; global $license; + $ACT = act_permcheck($ACT); //call template FIXME: all needed vars available? $headers[] = 'Content-Type: text/html; charset=utf-8'; trigger_event('ACTION_HEADERS_SEND',$headers,'act_sendheaders');