]> git.pld-linux.org Git - packages/dokuwiki.git/blobdiff - fixprivilegeescalationbug.diff
- refer to upstream pull
[packages/dokuwiki.git] / fixprivilegeescalationbug.diff
index 30d46db45f204488d3daa44ea535ad6512af1a6c..a878110b76e2bb58038847626c12ee13a36cf449 100644 (file)
@@ -4,15 +4,13 @@
 ## DP: Hotfix for privilege escalation bug.
 
 @DPATCH@
-Index: dokuwiki-0.0.20090214/inc/actions.php
-===================================================================
---- dokuwiki-0.0.20090214.orig/inc/actions.php 2009-02-14 13:13:25.000000000 +0100
-+++ dokuwiki-0.0.20090214/inc/actions.php      2009-02-14 19:19:32.000000000 +0100
-@@ -141,6 +141,7 @@
-     act_redirect($ID,$preact);
-   }
+--- 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');
++    $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');
This page took 0.035224 seconds and 4 git commands to generate.