]> git.pld-linux.org Git - packages/dokuwiki.git/blame - fixprivilegeescalationbug.diff
- add diff url to email
[packages/dokuwiki.git] / fixprivilegeescalationbug.diff
CommitLineData
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@
7Index: 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');
This page took 0.42909 seconds and 4 git commands to generate.